Lightwave 3D Plugin v0.3

Forums: Lightwave 3D Plugin v0.3
Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

Re: Lightwave 3D Plugin v0.3

Postby holocube » Wed Oct 13, 2010 10:32 am

holocube Wed Oct 13, 2010 10:32 am
My memory is weak!
More than 4 point polys works fine. I tried exporting your badpoly object and it worked fine with the latest version. Could you please make sure you're using the latest .p ?

Thanks
GTX260 Seven 64bit
I'm Superfrog
User avatar
holocube
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Sat May 29, 2010 8:45 am
Location: London

Re: Lightwave 3D Plugin v0.3

Postby paulcotto » Sat Nov 06, 2010 2:16 am

paulcotto Sat Nov 06, 2010 2:16 am
I think the file paths are possibly incorrect in the mac version. When I push render nothing happens and lightwave complains " unknown command. "Generic_OctaneExportOBJ". Here is my log file.


LogFile created
Render button pressed
Unitsize is 4
Exporting using Johans exporter
Check if written obj is in temp:
/Users/paulcotto/Library/Caches/NewTek/LightWave/1.0\octanemerge.obj
File is not there
Launching Octane
POI: moby
MyCam: Camera
dist: 71.0544
AimposX: -12.8752
AimposY: 18.4044
AimposZ: 10.3217
Writing cam position Camera
camx:28.9832
camy:0.493799
camz:64.8726
-n "/Users/paulcotto/Documents/Content\Anime_Eyerig.lws.ocs" -m Anime_Eyerig.lws.obj -l "/Users/paulcotto/Documents/Content\Anime_Eyerig.lws.obj" -s 0 --cam-pos-x 28.9832 --cam-pos-y 0.493799 --cam-pos-z 64.8726 --cam-target-x -12.8752 --cam-target-y 18.4044 --cam-target-z 10.3217 --cam-aperture 1 --cam-fov 45.2397
Render button pressed
Unitsize is 4
Exporting using Johans exporter
Check if written obj is in temp:
/Users/paulcotto/Library/Caches/NewTek/LightWave/1.0\octanemerge.obj
File is not there
Launching Octane
POI: moby
MyCam: Camera
dist: 71.0544
AimposX: -12.8752
AimposY: 18.4044
AimposZ: 10.3217
Writing cam position Camera
camx:28.9832
camy:0.493799
camz:64.8726
-n "/Users/paulcotto/Desktop/\Anime.ocs" -m Anime.obj -l "/Users/paulcotto/Desktop/\Anime.obj" -s 0 --cam-pos-x 28.9832 --cam-pos-y 0.493799 --cam-pos-z 64.8726 --cam-target-x -12.8752 --cam-target-y 18.4044 --cam-target-z 10.3217 --cam-aperture 1 --cam-fov 45.2397 --cam-focaldepth 5 --film-width 1024 --film-height 512 --daylight-sundir-x -2 --daylight-sundir-y 2 --daylight-sundir-z 2 --cam-motion-pos-x 28.9832 --cam-motion-pos-y 0.493799 --cam-motion-pos-z 64.8726 --cam-motion-target-x -12.8752 --cam-motion-target-y 18.4044 --cam-motion-target-z 10.3217 -g 0
Render button pressed
Unitsize is 4
Exporting using Johans exporter
Check if written obj is in temp:
/Users/paulcotto/Library/Caches/NewTek/LightWave/1.0\octanemerge.obj
File is not there
Launching Octane
POI: moby
MyCam: Camera
dist: 71.0544
AimposX: -12.8752
AimposY: 18.4044
AimposZ: 10.3217
Writing cam position Camera
camx:28.9832
camy:0.493799
camz:64.8726
-n "/Users/paulcotto/Desktop/\Anime.ocs" -m Anime.obj -l "/Users/paulcotto/Desktop/\Anime.obj" -s 0 --cam-pos-x 28.9832 --cam-pos-y 0.493799 --cam-pos-z 64.8726 --cam-target-x -12.8752 --cam-target-y 18.4044 --cam-target-z 10.3217 --cam-aperture 1 --cam-fov 45.2397 --cam-focaldepth 5 --film-width 1024 --film-height 512 --daylight-sundir-x -2 --daylight-sundir-y 2 --daylight-sundir-z 2 --cam-motion-pos-x 28.9832 --cam-motion-pos-y 0.493799 --cam-motion-pos-z 64.8726 --cam-motion-target-x -12.8752 --cam-motion-target-y 18.4044 --cam-motion-target-z 10.3217 -g 0
paulcotto
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Thu Jan 14, 2010 6:43 pm

Re: Lightwave 3D Plugin v0.3

Postby holocube » Wed Nov 10, 2010 9:09 am

holocube Wed Nov 10, 2010 9:09 am
My octane obj writer is for windows only, you have to select using the lightwave's own
GTX260 Seven 64bit
I'm Superfrog
User avatar
holocube
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Sat May 29, 2010 8:45 am
Location: London

Re: Lightwave 3D Plugin v0.3

Postby 3dl » Fri Nov 19, 2010 11:36 pm

3dl Fri Nov 19, 2010 11:36 pm
Hi Holocube,
Since I updated to 3.6 my version of LWCAD, your plugin doesn't export properly geometries....Any chance of having this issue fixed? ;)
3dl
Licensed Customer
Licensed Customer
 
Posts: 3
Joined: Wed Aug 18, 2010 11:46 pm

Re: Lightwave 3D Plugin v0.3

Postby holocube » Wed Nov 24, 2010 8:27 pm

holocube Wed Nov 24, 2010 8:27 pm
Um that sounds very strange. Could you explain a bit more what goes wrong?
GTX260 Seven 64bit
I'm Superfrog
User avatar
holocube
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Sat May 29, 2010 8:45 am
Location: London

Re: Lightwave 3D Plugin v0.3

Postby Numerika » Mon Jan 03, 2011 2:09 pm

Numerika Mon Jan 03, 2011 2:09 pm
Thanks for the exporter holocube!!
Very appreciated.
Just one thing.. can you make the exporting process faster?
The export process uses only one cpu core (but if I remember correctly this is a NT issue), and sometimes it's very frustrating having the export time higher than rendering time :shock:
User avatar
Numerika
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Sun Nov 28, 2010 12:49 pm

Re: Lightwave 3D Plugin v0.3

Postby face » Mon Jan 03, 2011 6:35 pm

face Mon Jan 03, 2011 6:35 pm
Sometimes it isn´t practicable to use multithreading. At least with the Softimage plugin.
At first, you must read 5 things.
First vertices, second normals, third sometimes texture coordinates, fourth faces(which polygon use which vertex-, normal-, texture-, and fiveth material-indices).
For that, you should have a geometry accessor and you should have a referenz for each mesh.
Possible is, that you can use 4 threads to read the mesh data. One for vertices, one for nomals, one for texture if present and one for the indices...

With 4 threads, you must call the accessor 4 times. That cost time.
You must store the geometry data from each thread, because the order of writing the file is imporatant, that cost memory.
You must wait if each thread is finished, because the order of writing, cost time.
All that and the fact that 4 threads aren´t 4times faster, because the thread handling, gives me the not needed argument.
And there are still other things. For example that the indices thread will use 2/4 - 3/4 of all the time.
Or i must read data double for the indices to become the vertex and normal count.
And the greatest argument is, that not the access of the data cost the most time, rather the conversation from the data to a writable string.
If you can solve that, you can half the export time. They should be faster then the import time in Octane...

You see, sometimes it isn´t practicable to convert a serial workflow, read data/write data, to a parallel one, read data/store date/wait for others/write data...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Lightwave 3D Plugin v0.3

Postby Numerika » Mon Jan 03, 2011 7:23 pm

Numerika Mon Jan 03, 2011 7:23 pm
Wow, thanks for the explanation face!
I really wish that octane LW exporter will continue to improve!
User avatar
Numerika
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Sun Nov 28, 2010 12:49 pm

Re: Lightwave 3D Plugin v0.3

Postby opm » Tue Jan 04, 2011 10:48 am

opm Tue Jan 04, 2011 10:48 am
For me, only export geometry ok the fast exporter. The normal exporter is very slow an always have geometry errors in my case.
Another problem is sometimes export textures and maps and sometimes no (in different projects).
This is a question I want to ask here
I7 920 12Gb GTX480
Q6600 4Gb GT9800
Q6600 8Gb GT8500
AMD X6 12Gb GTX275
AMD X6 8Gb
opm
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Sun May 30, 2010 9:09 am
Location: CNTBRA

Re: Lightwave 3D Plugin v0.3

Postby face » Tue Jan 04, 2011 11:04 am

face Tue Jan 04, 2011 11:04 am
For a triangulated cube you have 8 vertices but 24 normals. The ratio is also 1:3.
Maybe that is the time difference...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany
PreviousNext

Return to Lightwave 3D


Who is online

Users browsing this forum: No registered users and 3 guests

Thu Mar 28, 2024 10:14 am [ UTC ]