Skip to content

Hybrid/GPU/CPU path tracer (et al). Used in a few research projects, somewhat chaotic state.

Notifications You must be signed in to change notification settings

kiselgra/globillum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTES ON THE HEADLESS VERSION
=============================
That is ./src/gi.

If your terminal get corrupted after a crash this is because the scheme
interpreter changes some terminal properties which are not reset on crash.

Example command line
--------------------
$ ./src/gi /home/kai/render-data/models/sponza.noflag.obj -r 1024x720 -c nogui.scm -c sponza.lights.scm

This loads the model and executes the default renderer right away. Use -l (ell)
to not render directly, leaving you the chance to make settings at the repl.


Running it in the GraLab 
------------------------
gui version:
$ ./src/gi-gui -c default.c.scm -I. -c sponza.lights.scm /soft/devtools/kai/share/render-data/models/sponza.noflag.obj -r 1280x720 -i /soft/devtools/kai/share/render-data/images/sponza/
non-gui version:
$ ./src/gi -c nogui.scm -I. -c sponza.lights.scm /soft/devtools/kai/share/render-data/models/sponza.noflag.obj -r 1280x720 -i /soft/devtools/kai/share/render-data/images/sponza/

If it segfaults, have a look at the lights-file (sponza.lights.scm here) an check if you skylight texture can be found.



Woinachde
=========

git
---
url: git@scm9:kiselgra/globillum
branch: cpu-shading

run
---
./src/gi -r 1280x720 -i /soft/devtools/kai/share/render-data/images/sponza/ -I. -c nogui.scm -c sponza.lights.scm -c sponza.scene.scm
quit:
	scheme@(guile-user)> ,q
neues bild rechnen
	scheme@(guile-user)> (recompute)
light samples ändern
	scheme@(guile-user)> (light-samples 23)
bookmarked camera wählen
	scheme@(guile-user)> (b "soft")


wenn es die bilder schon gibt /tmp/pt-...png, dann erst mkdir /tmp/magdea ; gi ... -P /tmp/magdea

code
----
- main file für cmdline anwendung ist hl-main.cpp
- eintellen des algorithmus in hl-main.cpp:534
- materialien und texs in mateirals.h, material-conversion.cpp, siehe hl-main.cpp:347 "cpu_materials", kann unabhängig von gpu_materials werden.
- bounce-funktion in pt-hybrid.cpp

./src/gi -c nogui.scm -c dinoHead.scene.scm landscape.lights.scm -P /tmp/alex/ --lazy -Fe -Fp

About

Hybrid/GPU/CPU path tracer (et al). Used in a few research projects, somewhat chaotic state.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published