3D Modeler for Icaros

miker1264 · 20572

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
on: June 20, 2019, 05:15:53 PM
Icaros Desktop needs a 3D Modeler and Renderer similar to this to showcase it's versatility in rendering & displaying grahics.

There's an open source project available with Amiga 68k source code with similar capabilities. It's somewhat modular with a Modeler Window, Renderer & an Image Viewer that can also act as a standalone module for loading & displaying images. It was similar to and contemporary with LightWave 5.0 & Imagine. It specialized in a rendering technique called "Ray Tracing".

I managed to get the Amiga version setup and running in OS 3.9 last night. It uses Cybergraphx & Storm Mesa. I was able to open the Modeler Window to access the Main Menu but when I tried to render a scene it froze. I suppose I'm missing a part. I'll re-examine the Amiga source code to see what it's doing at that point.

I have set up an AROS project to revise & recompile the Loader & Viewer modules. Once that is complete & working on Icaros I will focus on the Modeler & Renderer. While I'm revising parts of it I'll make a few enhancements while keeping the core functions the same. I especially would like to add more picture types to save rendered images including saving to HAM6 & HAM8.

Because it's similar to 3DS R4 and it accepts 3DS files I'd like to re-name the Icaros version to "RayTrace Studio" with new icons.

Even if it only renders gold balls, or glass marbles, or a clown juggling silver balls, that's a good start. I made a new shiny icon for the Modeler & I plan to make one for the standalone Viewer as well. I always wanted to use the AROS symbol for an app icon. ;)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #1 on: June 20, 2019, 05:17:39 PM
Another sample.



trekiej

  • Member
  • ***
    • Posts: 190
    • Karma: +5/-0
Reply #2 on: June 20, 2019, 08:01:40 PM
Excellent!



salvatore

  • Guest
Reply #3 on: June 21, 2019, 01:09:27 AM
 ;)



Zevs

  • Newbie
  • *
    • Posts: 4
    • Karma: +0/-0
Reply #4 on: June 21, 2019, 01:19:18 AM
There is also RayStorm. That would be perfect for AROS 8)



salvatore

  • Guest
Reply #5 on: June 21, 2019, 01:25:48 AM
it's this the code who use



salvatore

  • Guest
Reply #6 on: June 21, 2019, 01:27:54 AM
for icon add is after resize, include an example



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #7 on: June 21, 2019, 02:44:46 AM
Nice. Good idea. Thank you.

This AROS icon would be appropriate for the recompiled version of the RayStorm viewer.

The Gold icon I showed earlier is for the Modeler.

I'll work more on the Viewer this weekend to get the Viewer working on Icaros Desktop. :)



salvatore

  • Guest
Reply #8 on: June 21, 2019, 04:07:22 AM
ok  :)

thank you

ps.attemp first july ;)
« Last Edit: June 21, 2019, 05:05:08 AM by salvatore »



dizzy

  • Junior Member
  • **
    • Posts: 59
    • Karma: +60/-0
    • YouTube channel
Reply #9 on: June 21, 2019, 06:40:40 AM
I'd like to see open sourced implementation for Fusion 360 like application. I've used the Fusion 360 quite a lot for my CNC milling and the gui is really intuitive.

https://www.autodesk.com/campaigns/fusion-360-learning/webinar-gettingstarted

I once made a STL viewer for AROS but I no longer have the source code, It may be somewhere but don't remember where...

It was ment to do more but I lost interest for it. It would need a ray cast to select objects etc. and ofcourse STL slicer for 3d printing.

We can do more with AROS and OpenGL now than what was possible back then. For example the Fusion 360 uses "cartoon like shader" to show the outlines of an object. OpenGL just does that for us without too much code.

https://youtu.be/VEp94WwAZjk
https://youtu.be/j2EcpCf4_kM

Here's a video for the STLView MUI/Zune class

https://youtu.be/CNUyA0DPFBs
https://youtu.be/DiB_WCnrcAY

If you can find the source for it then do whatever you like with it.
« Last Edit: June 21, 2019, 07:04:33 AM by dizzy »



salvatore

  • Guest
Reply #10 on: June 21, 2019, 07:32:17 AM
I think better to focus on this project first without offense, I personally asked for the port of raystorm to Miker and I told him that I will support him financially and I will do it

hi
« Last Edit: June 21, 2019, 07:39:06 AM by salvatore »



dizzy

  • Junior Member
  • **
    • Posts: 59
    • Karma: +60/-0
    • YouTube channel
Reply #11 on: June 21, 2019, 07:51:22 AM
No offense taken what so ever  :) I just tought that it might be difficult to translate m68k code to C. We can easily bypass a lot of code by using C and OpenGL and MUI/Zune classes. Let the GPU do the work that was done by CPU previously.

I have to admit that I don't know the inner workings of RayStorm, but if it would be possible to use OpenGL instead of the old Amiga libraries then I would use the OpenGL. It is not going to go anywhere for a while. Also we get the software renderer for free and if there is OpenGL capable GPU then it uses it. Also the VBO is a must. Just send the vertices to GPU once and then tell from where to render the scene and how. From my videos it might not be clear but the scene doesn't need to be updated at the monitor refresh rate, only when the viewpoint changes. When nothing moves then there is nothing to do.

Deadwood would be the best to answer for the implementation of OpenGL on AROS. I have spawned multiple of of MUI/Zune STLView classes on the same program and it worked ok as MUI/Zune renders the scenes in turns. Might not be safe on SMP.

http://www.songho.ca/opengl/gl_vbo.html

Using VBO it is possible to send the vertices to GPU and for the different scenes X/Y etc. just use the same buffer but with a different viewpoint. Fast as hell...
« Last Edit: June 21, 2019, 10:50:35 AM by dizzy »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #12 on: June 21, 2019, 08:47:47 AM
Thank you. Lots of good information.

RayStorm m68k uses StormMesa.



dizzy

  • Junior Member
  • **
    • Posts: 59
    • Karma: +60/-0
    • YouTube channel
Reply #13 on: June 21, 2019, 08:51:43 AM
Thanks,

I'm not sure if this still compiles, but I think this the most up to date source that I have.

https://www.dropbox.com/sh/eufyjclxxqijub9/AACTKnCqbDDt3YXYT9wgQShIa?dl=0



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #14 on: June 21, 2019, 09:11:58 AM
I like the idea of a 3D modeler. Although the best option would be porting Blender to AROS (there is a OS4 version... so it shouldn't impossible to port), I can perfectly understand it would be a huge task to perform.
So please port what's more comfortable to you: having a simple modeler is far better than having NO modeler. :-)