Giter VIP home page Giter VIP logo

blender-import-lwo's People

Contributors

alexxkrehmen avatar davekeeshan avatar davekeeshanmovidius avatar douglaskastle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blender-import-lwo's Issues

UVs not working

Whenever I try to map it, nothing happens. Models from dmi-3d.net

Installation of the blender-import-lwo

I am not a script or code skilled user of the old wreck Lightwave but I have an amount of already modeled 3D-Objects that would be perfect to import into Blender that definitely is a much better 3D-software than Lightwave ever could match.

So here are my questions and you may excuse me for being the guy who are better in guitar playing than scripting.

  1. Where and how are the "blender-import-lwo-1.4.6" or "io_scene_lwo" supposed to be installed?

  2. Are they meant to be installed or placed in different folders?

  3. About the map "blender-import-lwo-1.4.6.tar" I guess it´s the same as "blender-import-lwo-1.4.6" so I don´t need this if I already unpacked the "blender-import-lwo-1.4.6"? Right?

Nothing shows in Blender 4

I assume this doesn't work in Blender 4 because it's from 2021, right? just wanted to make sure. I downloaded the release, and I installed it, in fact I see all 5 files in ~/Library/Application Support/Blender/4.0/scripts/addons, but inside Blender it doesn't show at all, and LWO is not a format in the import menu.

The search_paths in lwoObject has error

At first, I think the indentation is wrong at the line paths.append(y). I adjusted the indentation but it did not pickup the path I entered. I modified the code as below to pickup the path I entered. Please review if it is correct.

def search_paths(self):
    paths = [self.dirpath]
    for s in self.ch.search_paths:
        if not re.search("^/", s) and not re.search("^.:", s):
            x = os.path.join(self.dirpath, s)
            y = os.path.abspath(x)
            paths.append(y)
        else:
            paths.append(s)
    return paths

Import Entire folder?

This is not really an issue with programming but it is a feature I would really like. An option to import the entire folder of LWO files instead of having to manually import them one by one. If you have over a hundred LWO files this can get really tedious as you can imagine.

Would this be something you're willing to add for me?

Cycles Support

The existing plugin only converts to Blender Internal, which is now deprecated

Allow importing without images

I'm trying to open an .lwo file that references a number of textures; I actually have the textures, but unfortunately their filenames have been somewhat scrambled by accent encoding problems... I was hoping to just assign them by hand, however, the script currently just sits in a loop complaining that it can't find the folder for any of them.

I've worked around this by simply commenting out the for c_id in self.clips: loop, but it might be convenient if the 'cancel' button would allow importing the meshes textureless rather than abandoning the import completely.

Octane material translation

Hello,
most pro LW users use Octane today, and it would be extremely cool if this translator could load LWOs in Blender with Exhisting Octane materials. Do you think this is feasible ?

Any chance to have LWO export add-on / option ?

Perhaps it's a pipedream, but I gotta ask - would it be possible for you to create LWO export option or LWO export add-on ?

It would be useful to Doom 3 modding community as Doom 3 engine uses LWO models (static meshes). LWO format is probably from that era (2004-ish).

Invalid LWO File Type (LW 2020)

All of my models do not import. I was actually trying to make a tutorial video to promote this plugin for the Lightwave to Blender community as part of my tutorial series. However, the plugin does not seem to work with LW 2020 format, as you indicate Not Supported Yet - LWO3. I've attached a reference .lwo

Currently looking at the LWO3 spec.

I'm a software engineer by day, so I'm going to start digging into the source. Any pointers in the right direction would help though!

backhoe.zip

Fix planar images support

Some images are allocated via planar assignment, not UV. It doesn't look like the planar xyz location is parsed in the first place

UV unwrap

Hi
Your addon works with BLENDER 3.0 and its great !!!
But, I have two things to do with it : to prepare my old LWO objects to work with UNITY and to recreate my old LWS scenes within BLENDER. So, in both cases I have to use UV maps.
When I import LWO obejcts, the addon creates much more vertices between faces who can generate some visible seams. And I can make a new UV, but so, I loose the connexion between the object and the picture.
fbx version
fbx version 2
lwo version
lwo version 2
e

Special characters in filename

If an image filename has special characters (in particular, brackets), the plugin fails to find the corresponding images for the LWO file due to the name being parsed as regex.

I was able to get a model to load by changing

if re.search(imagefile, f, re.I):

to

if re.search(re.escape(imagefile), f, re.I):

in https://github.com/douglaskastle/blender-import-lwo/blob/master/io_import_scene_lwo/lwoObject.py#L1150

... but I'm not sure if that's a good approach.

Here's the troublesome filenames:

Hgn_battlecruiser_badge_export[1].bmp
Hgn_battlecruiser_badge_export[1]SPEC.bmp
etc...

bmesh.ops.triangulate doesn't work in 2.78

A number of NASA meshes seem to crash or hang when face triangulation occurs:

bmesh.ops.triangulate(bm, faces=faces)

in "tests/lwo_nasa/src/STEREO/Stereo-2016-comp.lwo"

Addon not recognized by Blender 2.82a

Hello!

I tried installing this addon in the usual way, and the components show up in my addons folder, but there is no apparent way of activating the addon in Blender - even after a restart of both Blender and my system.

The attached image shows that the addons list is missing the LWO i/o option, but the files appear to have been installed and are in the addons folder. I looked at the read me, but didn't see anything specific about installation "gotchas" - am I missing something?

Thanks for making this available - I'm an old time Lightwave user and would love to be able to bring my models into Blender :)

Thanks,

Joe
addon

Vertex Colors are not imported

The vertex colors are properly parsed from the LWO file, but they are not assigned anywhere to the generated mesh.

See construct_mesh.py line 243 and 244 :
the vertex color are converted, the color map is created into the mesh... but the colors are not assigned to the color map.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.