Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

AROS 3d Rendering

Last updated on 7 days ago
M
miker1264Software Dev
Posted 7 days ago
When it's in an operational condition, when it can load 3d scene files with 3d objects that can be rendered then I'll release it for each platform I can.

It's just in the beginning phase. I combined my existing 3d demo with a new Zune Status Window. I made it modular, so there will be 4 windows. The main status window, the about window, the wireframe window, and the display window for the image.
aha, Argo, Amiwell79
A
Amiwell79Distro Maintainer
Posted 7 days ago
i386 versionWink
M
miker1264Software Dev
Posted 7 days ago
The first version of the Sur-Ray GUI and Wireframe Display.

I know we have Blender. But I want to build an native AROS application to experiment with 3d raytracing. :-)
Edited by miker1264 on 28-11-2026 12:21, 7 days ago
sonountaleban, Amiwell79, Argo
miker1264 attached the following image:
sunray_gui_version1.png
M
miker1264Software Dev
Posted 2 months ago
These are the beginning of the Viewport Layouts with Opengl wireframes.

My concept at this point is that the Active Viewport has a white wireframe, while Inactive are grey.

I'm not sure if it's better to have 4 glContexts (Viewports) or just 1. In the screenshot I'm using only one Viewport by drawing to different sets of coordinates to make it seem like there are four "Virtual" Viewports.

To make it seem more realistic I plan to draw a horizontal and vertical white line to divide the Viewports. The glColors can change that control the background & the foreground Viewport colors. So that Grey Background & Black Wireframe resembles Amiga RayStorm colors, Light Blue Background & Black Wireframe is reminiscent of 3DS R4. And Black Background & White Wireframe is a more modern look.

The Viewport Names from top left to bottom right are Top, Bottom, Side & Perspective. I'd like the user to be able to click in the bottom right Viewport (Perspective) then use the mouse or keyboard to rotate the viewpoint. The other Viewports are "Fixed". They don't change.

Thanks to deadwood for help in compiling the source code.
Edited by miker1264 on 25-09-2026 13:49, 2 months ago
miker1264 attached the following image:
opengl_aros_one_1.png 3dteapots_working_aros_one_1.png
A
Amiwell79Distro Maintainer
Posted 2 months ago
there's no rendering program, wcs it creates landscapes and even animations
ArgoArgoMember
Posted 2 months ago
Nice We'll just need a native program to create meshes
I know, Chicken & Egg issue; one step at a time
Looking forward to the updates
M
miker1264Software Dev
Posted 2 months ago
Working with a project this complex requires that I break it into smaller pieces with milestones that I must achieve at each step. I enjoy projects that start out very basic then become more complex over time.

The Opengl context (black window) is real. The buttons and logo were added to help visualize the layout.

The parser for the 3d mesh file is working and the Opengl rendering of the wireframe works also. Now I need a user interface with either GadTools & Intuition Window, or MUI/Zune & Custom Draw Window. I'll choose the easiest of the two.

So that's my first milestone - a working user interface where I can load a 3d mesh & render a wireframe using Opengl. At first a Single Viewport, then Quad View with four viewports showing different views.

As you may have guessed the 3d teapot wireframe is the Hello World of 3d Rendering Programs! ;-)
Edited by miker1264 on 23-09-2026 13:52, 2 months ago
aha, deadwood, Argo, Amiwell79, sonountaleban
M
miker1264Software Dev
Posted 2 months ago
This project is starting up again. I'm trying to find where I left off last time.

I'm sure I was able to parse the 3d mesh file to load the vertices, faces then render the wireframe in opengl.

More to come later. :-)
ntromans, Argo, coffeecat, sonountaleban
miker1264 attached the following image:
sunray_new_gui4_1.png
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 3 years ago
Thank you miker, do what you like best, we will always be happy !
M
miker1264Software Dev
Posted 3 years ago
Rather than 3d graphics, 3d Rendering only uses the RTG Graphics and vector math to produce images. Rendering programs are more for nostalgia and amusement than anything else. For me it's an opportunity to learn new things.

I'm also working on Icon Tools and Picture Tools as well as more icons and themes that will be of use for AROS users who are interested in Graphics Programs. Smile
Edited by miker1264 on 28-02-2024 14:37, 3 years ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 3 years ago
@miker

AROS has a limited following of users, as a result there will be very few who are passionate about 3D Graphics.

Those who like 3D Graphics certainly use programs of a certain level and power available on other platforms.

In my opinion we need to focus on software that enhances the Operating System, and common-use software, this will enable users to use AROS as a productive computer.

Wanting to do a census to see how many AROS users would like to develop 3D Graphics
A
Amiwell79Distro Maintainer
Posted 3 years ago
Like
M
miker1264Software Dev
Posted 3 years ago
The 3d rendering program needs some new functions to load 3d object files. So I will need to write an Object Loader for the program to load the vertices and 3d faces from the object files.

The alternate method is to hard code the 3d object data for testing which gets to be very tedious. It's much better to store this data and read from files.
A
Amiwell79Distro Maintainer
Posted 3 years ago
currently wcs exports files in several formats including lightwave i asked alexander if he is also interested in exporting 3d studio files
A
Amiwell79Distro Maintainer
Posted 3 years ago
It depends on wcs if it exports compatible files like it does with lightwave
M
miker1264Software Dev
Posted 3 years ago
Although my application is based in part on older sources (Ray Storm) mostly for 3d object file loading and saving, it's a completely new raytracing/rendering application.

I'm not sure what interaction there will be between programs or how that will be beneficial.
A
Amiwell79Distro Maintainer
Posted 3 years ago
Miker I spoke to alexander the author of the wcs programa porting that can interact with 3D software and told him that your project is in the works and if wcs could interact with it
A
Amiwell79Distro Maintainer
Posted 3 years ago
ok Miker good job, send me your paypal email I'll make you a donationSmile
Edited by Amiwell79 on 03-02-2024 13:03, 3 years ago
M
miker1264Software Dev
Posted 3 years ago
For displaying wireframes OpenGL (glut) may be useful but for rendering scenes a dedicated raytracer engine will be used.

Applications such as this are very complex. Building a full user interface which includes the wireframe display process including all the menu items and sub-functions is all very time consuming. For development and ease of testing I'd prefer a simple command line application.

The full-blown application will be "Sun-Ray Raytracer" which includes the complete user interface, button menu, app menu and display. The test application will be "RaytracerX" which is command line only with switches -w -r -s (wireframe, render, save). It will have a command line progress indicator 10%20%30%...100%...done!

The syntax of RaytracerX will be:
raytracerx -r dolphins.scn dolphins.ppm
which is very basic. I will add features and expand the functionality during development.

For old Amiga rendering applications I don't believe they could output 32 bit ARGB images, only RGB. The exception would be Lightwave and some other higher quality apps. RaytracerX will be able to produce either RGB or ARGB.
Edited by miker1264 on 03-02-2024 12:09, 3 years ago
A
Amiwell79Distro Maintainer
Posted 3 years ago
you could enable opengl when available
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Moderator: Administrator
Users who participated in discussion: deadwood, Argo, AMIGASYSTEM, pixie, Amiwell79, miker1264