Found 16 posts.
Search results Show results as topic list.
Technical Discussion » Creating static points on deforming and splitting geo
- AdamuKv
- 16 posts
- Offline
Technical Discussion » Creating static points on deforming and splitting geo
- AdamuKv
- 16 posts
- Offline
Ok, please help. I cannot find a way to select scattered points on a changing geo without getting completely new ones in the group after the geo deforms/splits.
To give you reference, I have a sphere (cell) which will split into two halves (2 separate geos), close the seams (adding new prims/points) and themselves becoming 2 different spheres. After that, again splitting into 4 spheres and so on.
I've added random points on mother sphere and I want them to remain the same after splitting. I've tried many - as I thought - good ideas, such as:
- enumerate SOP to have id attribute for each point and group expression node to select 20% of them - but as soon as splitting occurs, IDs of the right half of mother sphere change and I get another set of points
- point generate + VEX to center points to primitives and using them - but the same thing occurs as above
- time-shifting rest mother sphere, copying points to wires from ends SOP and using att interpolate together with sourceprimuv - no luck, the scattered points immediately jump to closed seam side of the left sphere.
- uv texture each sphere (I have separate ids for each geo generated) and scattering using texture space - it basically works, but several crucial points jitter and mirror disappear/appear during sphere moving and splitting.
It is probably a noob problem, since I am not a Houdini/VEX expert, but there is surely an easy way to achieve this and I'm too tired
To give you reference, I have a sphere (cell) which will split into two halves (2 separate geos), close the seams (adding new prims/points) and themselves becoming 2 different spheres. After that, again splitting into 4 spheres and so on.
I've added random points on mother sphere and I want them to remain the same after splitting. I've tried many - as I thought - good ideas, such as:
- enumerate SOP to have id attribute for each point and group expression node to select 20% of them - but as soon as splitting occurs, IDs of the right half of mother sphere change and I get another set of points
- point generate + VEX to center points to primitives and using them - but the same thing occurs as above
- time-shifting rest mother sphere, copying points to wires from ends SOP and using att interpolate together with sourceprimuv - no luck, the scattered points immediately jump to closed seam side of the left sphere.
- uv texture each sphere (I have separate ids for each geo generated) and scattering using texture space - it basically works, but several crucial points jitter and mirror disappear/appear during sphere moving and splitting.
It is probably a noob problem, since I am not a Houdini/VEX expert, but there is surely an easy way to achieve this and I'm too tired
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
Ok, opened a shell window via Houdini (cmd) and tried gwavefront to convert to and from .obj/.bgeo - it works without issues… So I'm guessing main program has some issues calling external apps.
Houdini won't load .obj derived this way (source .obj -> .bgeo -> .obj), but I can load the .bgeo, which will suffice for now.
It's still not fixed and I would like to know at least why it isn't working.
This is the converted .obj, which now looks ok:
Thanks again ndickson for your time!
Houdini won't load .obj derived this way (source .obj -> .bgeo -> .obj), but I can load the .bgeo, which will suffice for now.
It's still not fixed and I would like to know at least why it isn't working.
This is the converted .obj, which now looks ok:
# File exported by Houdini 16.5.323 (www.sidefx.com) # 8911 points # 30066 vertices # 10022 primitives # Bounds: [-165.950775, -15.8894215, -177.267975] to [150.687927, 326.117096, 124.150085] g v -8.09147644 -6.00000021e-06 -1.60949504 v -8.33779907 -9.99999975e-06 -2.52924299 ...
Thanks again ndickson for your time!
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
New clue!
I have created a default torus, saved it as .bgeo and tried to use gwavefront to create an .obj. It cannot read files at all! But, when I right-clicked at torus SOP and save it as torus.obj - it works and that .obj loads successfully.
But as before the code in that .obj is tottaly different than in any other I have:
Houdini .obj:
Standard .obj:
Can you try above and see if there is a difference between Houdini .obj and any other?
I have created a default torus, saved it as .bgeo and tried to use gwavefront to create an .obj. It cannot read files at all! But, when I right-clicked at torus SOP and save it as torus.obj - it works and that .obj loads successfully.
But as before the code in that .obj is tottaly different than in any other I have:
Houdini .obj:
PGEOMETRY V5 NPoints 288 NPrims 288 NPointGroups 0 NPrimGroups 0 NPointAttrib 0 NVertexAttrib 0 NPrimAttrib 0 NAttrib 0 0.75 -2.18556941e-08 -5.84121551e-07 1 0.724444211 -2.18556941e-08 -0.194114819 1 0.649518847 -2.18556941e-08 -0.375000447 1 0.530329764 -2.18556941e-08 -0.53033042 1 ...
Standard .obj:
mtllib pine.mtl o tree # Position v -2.20836377144 -4.8485330808e-006 -1.27499949932 v -2.15145754814 -8.18150328996e-006 -2.15145754814 v -1.40249943733 -9.23769675865e-006 -2.42920041084 v -0.566651940346 -8.04200226412e-006 -2.11477351189 ...
Can you try above and see if there is a difference between Houdini .obj and any other?
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Another possible workaround, (though it probably won't work given the past results) :
- Put down a Unix SOP
- Set the command line to
gwavefront the_path_to_the_OBJ_file_in_question.obj stdout.bgeo
- Set the display flag to it (if it wasn't already there.)
Of course it doesn't
Regarding anti-virus, I have Malwarebytes anti-malware, when I installed Houdini and when I work with it - Malwarebytes is not running, it isn't on autostart at all. Checked all of it's reports, nothing found - nothing quarantined.
I only have problem with .OBJ, all others work as expected. And its the same goddamn error - “Expected array object” in some library… Backend IO - I presume something within the Houdini files or settings…
It is really frustrating and I know reinstalling Win10 will probably fix it but I really don't want to do that.
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
Btw, I still haven't managed to fix this, but now, in the newer builds, I can actually see the error:
Same error for every .obj file I have.
@ndickson HALP!
Same error for every .obj file I have.
@ndickson HALP!
Edited by AdamuKv - Feb. 9, 2018 11:41:37
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Very interesting… Thanks for bearing with these questions! This may sound unrelated, but if you open Houdini, put down a box (Ctrl+click on the Box button), then switch to Render View and hit the Render button, does it render the box?
(I'm wondering if, for some unknown reason, Houdini-related processes are somehow unable to start any other processes.)
Yes. It renders a grey box as it should. I thought also that other processes regarding houdini are somehow blocked or blacklisted but I didn't find any of them to be.
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Interesting… a few more questions:
A) Does doing that same conversion withgwavefront.exe
work if the command prompt is started without the “Run as administrator”?
B) Does it work if you specifygconvert.exe
instead ofgwavefront.exe
? (I think gconvert will try to launch gwavefront to load the OBJ file)
C) If you run houdini.exe from the command prompt and try to load an OBJ file, does anything get printed to the command line?
A. Yes.
B. No. “…\gconvert.exe: Unable to load lens.obj”
C. No. But I think if I had the same issues on linux, bash should've printed the error. I will try linux enviroment.
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Okay, one last try for now:
0) Open start menu, type cmd, right-click Command Prompt, “Run as administrator”
1) Runcd "C:\home"
2) Run"C:\Program Files\Side Effects Software\Houdini 16.0.XXX\bin\gwavefront.exe" lens.obj lens.bgeo
where XXX is the build number of Houdini 16.0 you're using.
What's the output from that? Does it print some text on the command line, or does it successfully create lens.bgeo in that directory?
And now it works! Last time I tried to convert the same file, in the same directory, gwavefront couldn't open file. It means we're getting better!
In Houdini, I still can't open .obj, but .bgeo opens fine, which will suffice for me for now, but I would like to fix the issue still, I don't want to go around it again.
Btw, thanks ndickson for all your efforts! :*
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
This may be a long shot, but can you try setting the environment variableTBBMALLOC_PROXY_ENABLE
to0
and try again?
(A few Windows 10 updates in recent months have broken compatibility for what the memory allocator in Intel's TBB library uses to replace the default memory allocator, sometimes just resulting in another place that they need to patch-in to work in every case, so it might be another case of that.)
I've set is as User variable. Started Houdini, still can't read. Also set it inside houdini.env - nothing
We're running out of options I assume.
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
Enivob
I remember experiencing something like this a while back and I believe the solution was in the houdini.env file.
Can you post your houdini.env?
It is fresh as the H16 installation.
# # Houdini Environment Settings # # The contents of this file are read into the environment # at startup. They will override any existing entries in # the environment. # # The syntax is one entry per line as follows: # VAR = VALUE # # Values may be quoted # VAR = "VALUE" # # Values may be empty # VAR = # # Example: # # HOUDINI_NO_SPLASH = 1
Edited by AdamuKv - Oct. 20, 2017 14:24:40
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
Regarding naming, I am sure it's test.obj. And yes, really strange that newest H16 suddenly uses old-format ASCII.
lens.obj does have mtl line, also lens.mtl besides the obj. After I remove the mtl line and the file, .obj still cannot be read by File SOP. Other .objs do not have mtls, nor have they been created with blender. No real correlation there.
Regarding gwavefront.exe, it and everything else is in the bin folder (hundreds of .exe files). I only use Malwarebytes, which isn't running, at all, and which doesn't really do weird things.
lens.obj does have mtl line, also lens.mtl besides the obj. After I remove the mtl line and the file, .obj still cannot be read by File SOP. Other .objs do not have mtls, nor have they been created with blender. No real correlation there.
Regarding gwavefront.exe, it and everything else is in the bin folder (hundreds of .exe files). I only use Malwarebytes, which isn't running, at all, and which doesn't really do weird things.
Edited by AdamuKv - Oct. 20, 2017 14:21:04
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Okay, let's try something a bit different. Can you put down a box, (Ctrl+click on the Box button on the toolbar), then dive into SOPs (double-click on the object node that was created in the network editor), and right-click > Save > Geometry. Click on the file chooser button, navigate to the directory containing the other OBJ file, and type “test.obj” for a filename, hit Accept, then Accept again. Then try pressing Tab, type File, press Enter twice. Then, choose that file with the file chooser on the File SOP that was just created. Does that file load?
Ok, great, something new just happened. It works with basic primitives. And looking into test.obj, the info inside is really different than other .obj (the one I need was created in blender, and worked many times before):
basic cube created by H16:
PGEOMETRY V5
NPoints 8 NPrims 6
NPointGroups 0 NPrimGroups 0
NPointAttrib 0 NVertexAttrib 0 NPrimAttrib 0 NAttrib 0
0.5 -0.5 0.5 1
-0.5 -0.5 0.5 1
0.5 0.5 0.5 1
-0.5 0.5 0.5 1
-0.5 -0.5 -0.5 1
0.5 -0.5 -0.5 1
-0.5 0.5 -0.5 1
0.5 0.5 -0.5 1
Run 6 Poly
4 < 0 1 3 2
4 < 4 5 7 6
4 < 6 7 2 3
4 < 5 4 1 0
4 < 5 0 2 7
4 < 1 4 6 3
beginExtra
endExtra
my obj starts with:
# Blender v2.78 (sub 0) OBJ File: ''
# www.blender.org
mtllib lens.mtl
o Plane_Plane.004
v 0.061242 0.000000 1.246615
v 0.030630 0.000000 1.247743
v 0.055118 0.000000 1.121954
… … …
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Hmm… the STL file you linked to loads fine for me in Houdini 16.0.764 (after extracting it, of course).
All I can think of at the moment is that it might be a permissions issue. Try running Houdini as administrator, i.e. right-click Run as Administrator, (even if your account is an Administrator account, Windows 10 sometimes-but-not-always seems to not treat the account as having Administrator permissions).
Tried, still unable to read files.
chrism
Just a shot in the dark here….do you actually have a directory atc:/home
? I've noticed we often give an ‘unable to read’ error message when what it should really say is ‘file not found’, which is generally more helpful in these kind of situations.
Yeah, I've created all sorts of dirs to try and see if it's a hdd/ssd or path issue. All of them failed.
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
ndickson
Thanks for checking so thoroughly! Can you post the OBJ file? It might be something in the file that's currently unsupported.
Thanks for the quick response! It doesn't matter what .obj I use, free ones from the internet or the ones I already used without problems in my older version of Houdini (16.0.504.20). Furthermore, I've downloaded .stls from ThreeDScans and it won't load them also. >Example [threedscans.com] . Also >pastebin [pastebin.com] to houdini environment from About
Technical Discussion » Houdini won't load .OBJ files
- AdamuKv
- 16 posts
- Offline
Hello,
I know people had issues like these before, but none of those solutions worked for me.
I tried everything except reinstalling windows 10, which I really don't want to.
So, fresh Houdini (tried few latest production builds), fresh houdini.env file, System+User variables in pristine condition… Nothing works. Tried every OBJ file I have, on different locations (they open in other programs without problems - not corrupted), not in sequence, not with national characters, underscores, spaces…
Tried gconvert or gplay, both won't read .objs. Nothing is blocked in windows firewall either.
Anyone have some idea what can be the problem?
Thanks!
I know people had issues like these before, but none of those solutions worked for me.
I tried everything except reinstalling windows 10, which I really don't want to.
So, fresh Houdini (tried few latest production builds), fresh houdini.env file, System+User variables in pristine condition… Nothing works. Tried every OBJ file I have, on different locations (they open in other programs without problems - not corrupted), not in sequence, not with national characters, underscores, spaces…
Tried gconvert or gplay, both won't read .objs. Nothing is blocked in windows firewall either.
Anyone have some idea what can be the problem?
Thanks!
-
- Quick Links