Recent

Author Topic: actinon: C photorealistic images via ray tracing Also working Laz SaguRaytracer  (Read 509 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 1141
Creates photorealistic images via ray tracing

https://github.com/johsteffens/actinon

Renderings look fantastic, but the program is done in C.

I wonder how hard it would be to convert to Lazarus?
« Last Edit: March 17, 2026, 11:20:34 am by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 1141
Re: actinon: C photorealistic images via ray tracing
« Reply #1 on: March 17, 2026, 11:13:36 am »
Also found a basic Raytracer for Lazarus that renders to a ppm file.

SaguRaytracer

A tiny cross-platform object pascal raytracer

https://github.com/jseling/SaguRaytracer


DZandaa, there is also a Delphi GLScene 3D-Terrain-Programming a bit like your 3D one
https://github.com/jseling/3D-Terrain-Programming
Also the SaguRaytracer might possibly go well with your obj loader that you were working on?




« Last Edit: March 17, 2026, 11:24:28 am by Boleeman »

Dzandaa

  • Hero Member
  • *****
  • Posts: 531
  • From C# to Lazarus
Hi Eddie,

Ray tracing reminds me of my first ray tracing program, written in C on an Amiga 2000, where I was happy to see three spheres: matte, metallic, and transparent, with shadows :) It took about an hour to get a result :), now I use ZBrush with Cinema 4D, Poser and Octane render.
About 2 minute to render a complete scene with light, sky, plants, etc...

Or I use AI, but that's not fair.

B->
Regards,
Dzandaa

speter

  • Hero Member
  • *****
  • Posts: 522
... I wonder how hard it would be to convert to Lazarus?
I spent some time a couple of years ago, looking at converting a C ray-tracing program (rayshade), but I found that I had forgotten most of what I once knew about C, so the task was beyond me. :)

So, *I think* it is probably possible to convert the program to lazarus, but it would be a lot of work and you'd need to be a skilled C programmer... (imho).

cheers
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

 

TinyPortal © 2005-2018