b-lux : blender internal exporter

General Project and community related discussion.

Moderator: coordinators

b-lux : blender internal exporter

Postby karpov » Thu Nov 13, 2008 1:21 pm

hi guys !

I'm doing a blender internal exporter for Lux based on the yafray API - yes I know, it will be soon out of date due to blender 2.5.... -
I have some problems with exporting uvs

I was making some tests with luxblend and it's very weird : when exporting a cube with uvs, it generate 20 points !

Can someone have a look to the code and help me ?

http://www.yanatchkov.com/site/index.php?page=b-lux

thanks :)
karpov
 
Posts: 3
Joined: Sat Dec 15, 2007 12:25 pm
Location: Paris,France

Re: b-lux : blender internal exporter

Postby Radiance » Thu Nov 13, 2008 7:07 pm

Hi,

Nice, but does'nt it make more sense to wait till the new render API is here ?

It will definately be nice if you could help out in that area :)

Radiance
User avatar
Radiance
 
Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

Re: b-lux : blender internal exporter

Postby karpov » Fri Nov 14, 2008 4:27 am

Radiance,

The exporter is quite finished and I'd like to integrate Lux in my workflow - so no python plugin....

Could you export a uvmaped cube with luxblend and look at the generated code ?
Do I really need to have those 20 points - I don't understand the logic....

karpov

PS: where has gone your "La soupe aux choux" avatar :)
karpov
 
Posts: 3
Joined: Sat Dec 15, 2007 12:25 pm
Location: Paris,France

Re: b-lux : blender internal exporter

Postby jeanphi » Fri Nov 14, 2008 7:47 am

Hi,

I could see why there would be 24 points, but not 20. If you specify the normals, each points belonging to 3 faces, you need to specify the vertices 3 times, so that you can specify the 3 normals. I havent't looked at this part of the code for a while, but this could be necessary to sharpen the edges of the mesh.

Jeanphi
jeanphi
Developer
 
Posts: 6575
Joined: Mon Jan 14, 2008 7:21 am

Re: b-lux : blender internal exporter

Postby karpov » Fri Nov 14, 2008 9:59 am

ok,
it's - partially- fixed :)
karpov
 
Posts: 3
Joined: Sat Dec 15, 2007 12:25 pm
Location: Paris,France


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests