Hi,
I would like to draw a cylinder in Gem whose ends are closed with spherical caps. The basic geometry is easy: I just make a cylinder and put a sphere at each end.
However the shadows, when lighting is turned on, look very wrong: The cylinder has the shadow on the other side compared to the spheres. Is there a way to fix this? (See attached example patch.)
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I would like to draw a cylinder in Gem whose ends are closed with spherical caps. The basic geometry is easy: I just make a cylinder and put a sphere at each end.
However the shadows, when lighting is turned on, look very wrong: The cylinder has the shadow on the other side compared to the spheres. Is there a way to fix this? (See attached example patch.)
Nevermind, I found a solution by scaling the cyliner with -1. However it feels like a hack: Shouldn't the cylinder be turned inside out as default? (Fixed patch attached.)
Frank Barknecht _ ______footils.org_ __goto10.org__
I think that GEM should support Blender's 3d model format. Then we could use a free and open source program to create arbitrary 3d objects and easily import them into GEM.
Maya, on the other hand, is prohibitively expensive, unless one decides to steal it. I've grabbed a few free .obj files from the net to use, but there isn't that much out there...
~David
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I would like to draw a cylinder in Gem whose ends are closed with spherical caps. The basic geometry is easy: I just make a cylinder and put a sphere at each end.
However the shadows, when lighting is turned on, look very wrong: The cylinder has the shadow on the other side compared to the spheres. Is there a way to fix this? (See attached example patch.)
Nevermind, I found a solution by scaling the cyliner with -1. However it feels like a hack: Shouldn't the cylinder be turned inside out as default? (Fixed patch attached.)
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__ _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I thought Blender _could_ export .obj files... Martin
cyborgk@nocturnalnoize.com wrote:
I think that GEM should support Blender's 3d model format. Then we could use a free and open source program to create arbitrary 3d objects and easily import them into GEM.
Maya, on the other hand, is prohibitively expensive, unless one decides to steal it. I've grabbed a few free .obj files from the net to use, but there isn't that much out there...
~David
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I would like to draw a cylinder in Gem whose ends are closed with spherical caps. The basic geometry is easy: I just make a cylinder and put a sphere at each end.
However the shadows, when lighting is turned on, look very wrong: The cylinder has the shadow on the other side compared to the spheres. Is there a way to fix this? (See attached example patch.)
Nevermind, I found a solution by scaling the cyliner with -1. However it feels like a hack: Shouldn't the cylinder be turned inside out as default? (Fixed patch attached.)
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__ _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Okay, you are right, well, it's not built-in, but it's there. I just didn't look far enough. There is a python script that you can add to Blender to export OBJ files. Okay, this should be very helpful!
~Dav0d
I thought Blender _could_ export .obj files... Martin
cyborgk@nocturnalnoize.com wrote:
I think that GEM should support Blender's 3d model format. Then we could use a free and open source program to create arbitrary 3d objects and easily import them into GEM.
cyborgk@nocturnalnoize.com wrote:
I think that GEM should support Blender's 3d model format. Then we could use a free and open source program to create arbitrary 3d objects and easily import them into GEM.
you are welcome to commit your blender-model-loader code.
mfg.asd.r IOhannes