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 hours ago
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
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
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
A
Amiwell79Distro Maintainer
Posted 2 months ago
there's no rendering program, wcs it creates landscapes and even animations
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
M
miker1264Software Dev
Posted 10 hours 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, 10 hours ago
sonountaleban, Amiwell79, Argo
miker1264 attached the following image:
sunray_gui_version1.png
A
Amiwell79Distro Maintainer
Posted 8 hours ago
i386 versionWink
M
miker1264Software Dev
Posted 7 hours 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.
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