Hi Sébastien, It's possible to create materials/textures/lights within pythonOCC. But it's not really documented! I recently added a few samples that explain how customize default lightning, create materials and textures. They're available in the svn trunk: http://svn.gna.org/viewcvs/pythonocc/trunk/src/samples/Level2/Display/ . I think those samples should work with pythonOCC-0.3.
Cheers, Thomas 2009/10/16 Sébastien Ramage <sebastien.ram...@gmail.com> > Hi Thomas, > > You're right it would be fun to add the rendering engine to PythonOCC . > > you said : > get lights/materials/textures from pythonOCC and transfer their properties > to yafaray > > but pythonOCC 0.3 has no lights/materials/textures isn't it ? > > Sébastien > > > > 2009/10/14 Thomas Paviot <tpav...@gmail.com> > > Hi Sébastien, >> >> Just tested under Windows, absolutely great contribution! >> >> Maybe the rendering engine could even be more integrated with OCC (for >> instance, get lights/materials/textures from pythonOCC and transfer their >> properties to yafaray). >> >> Cheers, >> >> Thomas >> >> 2009/10/14 Sébastien Ramage <sebastien.ram...@gmail.com> >> >>> Hi all, >>> >>> I am pleased to announce the first release of occray project. >>> occray is a python library that allow creating raytraced image from >>> pythonOCC using the great yafaray engine. >>> >>> http://code.google.com/p/occray/ >>> >>> For now, occray is in alpha state and has been tested only on Windows but >>> I'm working on a Linux (Ubuntu) version. >>> >>> attached : a sample image generated by demo.py (see svn) >>> >>> Sébastien >>> >>> _______________________________________________ >>> Pythonocc-users mailing list >>> Pythonocc-users@gna.org >>> https://mail.gna.org/listinfo/pythonocc-users >>> >>> >> >> _______________________________________________ >> Pythonocc-users mailing list >> Pythonocc-users@gna.org >> https://mail.gna.org/listinfo/pythonocc-users >> >> > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users