Jump to content


Lightwave .lwo reader SOP


  • Please log in to reply
23 replies to this topic

#13 dyei nightmare

dyei nightmare

    Initiate

  • Members
  • PipPip
  • 179 posts
  • Joined: 09-January 10
  • Name:arturo valle

Posted 19 October 2012 - 01:06 PM

where you can download it? will need this desesperatelly

#14 dulo

dulo

    Peon

  • Members
  • Pip
  • 31 posts
  • Joined: 03-December 10
  • Location:austria
  • Name:martin dulovits

Posted 16 November 2012 - 02:38 AM

Any news on this awesome node ? Is there a possibility to test this little thing ?
Posted Image
www.woogieworks.at

Martin Dulovits
Technical Director

#15 eetu

eetu

    Illusionist

  • Members
  • PipPipPip
  • 479 posts
  • Joined: 30-May 07
  • Location:Helsinki, Finland
  • Name:eetu m

Posted 16 November 2012 - 04:45 AM

Yeah, still eagerly awaiting :)

I could probably work on a matching shader that would try and duplicate the basic lightwave material, with basic procedurals and such.
A shitty theory is better than no theory at all

#16 zarti

zarti

    Illusionist

  • Members
  • PipPipPip
  • 304 posts
  • Joined: 21-February 10
  • Location:39th parallel
  • Name:CTRL-C CTRL-V

Posted 18 November 2012 - 12:16 PM

it was nice , anyway ..
keep walking .

#17 rom

rom

    Peon

  • Members
  • Pip
  • 12 posts
  • Joined: 31-May 12
  • Location:south africa
  • Name:Rommany Allen

Posted 21 November 2012 - 04:49 AM

the sop is still some what incomplete, and i'm in some projects at the moment.
Will try to pin it down some more, over the weekend.
Check it out, as is, for the moment, but last I checked, there were quite a few cases where is fails.
It's all python, so If anyone has the inclination to chase bugs, be my guest.



View Posteetu, on 16 November 2012 - 04:45 AM, said:

I could probably work on a matching shader that would try and duplicate the basic lightwave material, with basic procedurals and such.

That would be dead cool.

I went from this, to attempting to do the same while leaning C++, and got quite far.
I figure ,Ideally this should be done with HDK, but my skills in that regard are questionable.

I have a good grasp on parsing the .lwo file, so perhaps with some HDK guru's guidance we could make this sop solid.

Attached Files

  • Attached File  Lwo.otl   302.36K   33 downloads

Edited by rom, 21 November 2012 - 05:27 AM.


#18 skazkaPiter

skazkaPiter

    Peon

  • Members
  • Pip
  • 4 posts
  • Joined: 27-August 08
  • Name:Dmitry Skazka

Posted 22 November 2012 - 12:34 AM

on Houdini 11.0.658 and 12.1.33 it does not working.
on call asset and on load geometry gives a mistakes : ))

#19 eetu

eetu

    Illusionist

  • Members
  • PipPipPip
  • 479 posts
  • Joined: 30-May 07
  • Location:Helsinki, Finland
  • Name:eetu m

Posted 22 November 2012 - 08:47 AM

I tried with a couple of files from here http://www.3drender....enges/index.htm

The cabin one errors on load.
The film noir one loads the geometry but errors in new_Color and doesn't load the material info.
The Halloween one loads in ok.

Seems like it wants a c:/tmp folder, too.
I'll torture it a bit more :)

But, cool in any case!
A shitty theory is better than no theory at all

#20 rom

rom

    Peon

  • Members
  • Pip
  • 12 posts
  • Joined: 31-May 12
  • Location:south africa
  • Name:Rommany Allen

Posted 22 November 2012 - 11:15 PM

View Posteetu, on 22 November 2012 - 08:47 AM, said:

Seems like it wants a c:/tmp folder, too.

If I remember correctly, the c:/tmp thing is where a log file is written, in order to trouble shoot. I think there may be a DEBUG tab, where you can change the logging features. As a Mac user, I probably hard coded that path to log file (my bad), I'm sure if you track that down, you can check the log as to where the Sop fails. I figure that this will help solve the 'boundary conditions'.

After going down the rabbit hole on parsing all the material data, It did appear to be far less stable, so this is really the area that needs attention.

I will do my best to give this some more attention soon.

#21 Netvudu

Netvudu

    Houdini Master

  • Members
  • PipPipPipPip
  • 766 posts
  • Joined: 24-May 06
  • Location:Barcelona, Spain
  • Name:Javier MeroƱo

Posted 23 November 2012 - 02:24 AM

Just so that you know it, you are my new heroes guys....(specially if you make it work properly :P )

#22 zarti

zarti

    Illusionist

  • Members
  • PipPipPip
  • 304 posts
  • Joined: 21-February 10
  • Location:39th parallel
  • Name:CTRL-C CTRL-V

Posted 23 November 2012 - 10:38 AM

hey rom , this seems an awesome start ! sincerely .. thanks .

since AD products do not oscillate on the same frequency as my brain and logic does , i really hope to see this idea take a solid form .

so thanks in advance to anyone involved even in trying for it .. =)

{ yep , seems a bit 'strange' to see LW's layout of parameters inside Houdini ,  but as i said ; this might be a good candidate / reference for 'the_ubershader_material' ( i think ) Houdini needs }

--

Quote

on Houdini 11.0.658 and 12.1.33 it does not working.
on call asset and on load geometry gives a mistakes : ))

hi skazkaPiter ,

accidentally im trying lwo.otl in the same H12.1.33 ( WIN_7x64 ) and im having no problems .




.cheers
keep walking .

#23 rom

rom

    Peon

  • Members
  • Pip
  • 12 posts
  • Joined: 31-May 12
  • Location:south africa
  • Name:Rommany Allen

Posted 27 November 2012 - 01:11 AM

Here is a more stable version
Turns out it was failing mostly due to vmap names not being compatible with houdini's attribute names

currently the node parms for surface layers are only set up for the color channel, so it will also throw exceptions when trying to set layers in other channels.

Although it should be able to load large files, it is not currently optimized for them.

The initial intention for this was not to just load old lwo files, It was more to use Lightwave Modeler to quickly create elements that could then be subjected to houdini's procedural treatment, providing the best of both paradigms.

For now it is probably also wise to 'cache' as a native houdini .bgeo as the lwo is not reloading, when the scene reloads.

Attached Files

  • Attached File  Lwo.otl   313.87K   32 downloads

Edited by rom, 27 November 2012 - 01:16 AM.


#24 dulo

dulo

    Peon

  • Members
  • Pip
  • 31 posts
  • Joined: 03-December 10
  • Location:austria
  • Name:martin dulovits

Posted 27 November 2012 - 06:51 AM

Thanks a lot for sharing !! I have written quite a lot of python houdini<->lightwave tools in the last 3 years so maybe I can help you too !! I am trying to move our heavily lightwave based studio more in the direction of houdini for ages .. maybe I can give it a try again :-)
Posted Image
www.woogieworks.at

Martin Dulovits
Technical Director




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users