LuxBlend v0.1 Alpha 7

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

LuxBlend v0.1 Alpha 7

Postby Radiance » Tue Oct 16, 2007 5:53 am

Ok here's another update.

I've removed (eg remarked ;-) all the buttons which weren't active.

keep in mind that this exporter only implement something like 1% of all the features of the engine ;-)
most of the scene file options are still hard coded.

Have fun.

I'll post some documentation tomorrow regarding how to use it and how to tune materials and how they're mapped
to the blender sliders. (if you want to figure it out have a look in the code, it's fairly straight forward and a bit like
indigo 0.6 and earlier exporters.)

gonna go sleep now, very, very tired ;-)

if you find any errors, be my guest to post updates here...

Greetz,
Radiance
Attachments
LuxBlend_0.1_alpha7.zip
(12.2 KiB) Downloaded 1307 times
User avatar
Radiance
 
Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

Re: LuxBlend v0.1 Alpha 7

Postby Tuxer » Tue Oct 16, 2007 7:12 am

Thank you! Works fine!

Small Win/Unix problem: Following lines uses backward slashes as a path separator and those don't work in Unix. I had to change those to forward slashes.

Code: Select all
   geom_filename = filepath + "\geom-" + filebase
   geom_pfilename = "geom-" + filebase

   mat_filename = filepath + "\mat-" + filebase
   mat_pfilename = "mat-" + filebase


Doesn't Windows accept also forward slashes as a path separator?
Tuxer
 
Posts: 42
Joined: Mon Oct 15, 2007 11:17 am

Re: LuxBlend v0.1 Alpha 7

Postby pinko » Tue Oct 16, 2007 7:15 am

Tnx Radiance i try it as soon as possible!!!
Pinko. :D
Blender 249.2/ Blender 2.57 - Luxrender 0.8
Image
MY WORKS: http://pinko3d.myblog.it/
My Omega X33 on BlenderArt Gallery : http://www.blender.org/features-gallery ... t-gallery/
User avatar
pinko
 
Posts: 451
Joined: Tue Oct 16, 2007 7:12 am
Location: Italy

Re: LuxBlend v0.1 Alpha 7

Postby deadReaper » Tue Oct 16, 2007 10:51 am

yes please use os.path.join() like i said yesterday in the initial version thread.

good decision to remuve the unused Buttons :D
deadReaper
 
Posts: 3
Joined: Mon Oct 15, 2007 5:54 am

Re: LuxBlend v0.1 Alpha 7

Postby scyguo » Wed Oct 17, 2007 3:11 am

nice, is't working - thanks Radiance!
some object, in my test scenes, render without textures (exr btw - thanks for tip) and on luxrenders conslole was message "Warning! degenerated uv in triangle mesh, discarding all UVs"
scyguo
 
Posts: 8
Joined: Mon Oct 15, 2007 4:41 am

Re: LuxBlend v0.1 Alpha 7

Postby thoro » Wed Oct 17, 2007 4:27 am

Hmm, strange - I tried the exporter on my Windows XP system and the exported files (geometry and material) lack extensions.

If I try to open the scene LuxRender crashes (even if I rename the geometry/material files and change the entries in my scene file).

Thorsten
User avatar
thoro
 
Posts: 2
Joined: Wed Oct 17, 2007 4:12 am

Re: LuxBlend v0.1 Alpha 7

Postby Radiance » Wed Oct 17, 2007 4:31 am

did you define a lightsource ?

leaving the 'env type' to 'none' and not using a mesh emitter results in a silent crash in rc1 (it's in the release notes).

the extension issue is weird, i'm using blender 2.43 on windows xp here and it seems to work fine...

EDIT: are you using any non-alphanumeric characters in your scene file name ?

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

Re: LuxBlend v0.1 Alpha 7

Postby Radiance » Wed Oct 17, 2007 4:47 am

scyguo,

i've had some problems with uv maps too,
the uv map exporting functionality in the current blender exporter is not very good,
there's still bugs in it...

I will try and solve these asap.

EDIT: it would be cool if we could get some bpython developers on board to give us a hand ;-)

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

Re: LuxBlend v0.1 Alpha 7

Postby thoro » Wed Oct 17, 2007 4:52 am

Hi radiance,

you are quick - and I am dumb :oops:. I used a spotlight - replaced it by an emitting mesh now and it works. Doing this I found the reason for the missing extensions: I had to save my Blender scene to get extensions from the exporter.

Preparing some tests now...

Thank you very much

Thorsten
User avatar
thoro
 
Posts: 2
Joined: Wed Oct 17, 2007 4:12 am

Re: LuxBlend v0.1 Alpha 7

Postby Radiance » Wed Oct 17, 2007 5:06 am

sweet, can't wait to see some work ;-)

be carefull with mesh emitters with large amount of faces (see the release notes)

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

Next

Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: No registered users and 1 guest