Thu, Nov 14, 10:38 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 14 9:14 am)



Subject: Poser 6 cannot handle textures with same name


Dizzi ( ) posted Sat, 02 April 2005 at 1:15 PM · edited Thu, 14 November 2024 at 10:37 AM

file_212969.jpg

I created two textures, one white, one black, both named "test.jpg". Created two folders test1, test2 in the textures folder. Assigned both textures in material room. Guess what? Yes, poser just takes one of them and you cannot change it in the material room (but you get the funny selection above)... Even existing pz3s with correct relative paths now may render different because the wrong image gets loaded (eg. the wrong head.jpg)...



oilscum ( ) posted Sat, 02 April 2005 at 1:27 PM

Is this any different than previous versions?


geep ( ) posted Sat, 02 April 2005 at 1:33 PM

Hi Dizzi, It would appear that Poser does not like (i.e., can not handle) identical names internally. That is why if you load a box prop (named "box") it will be named "box_1" ... load another identical one and it will be named "Box_2" ... etc. I believe the same thing holds true for texmaps but evidently, Poser does not automatically rename texmaps the way it does with props. It would appear that Poser does not care where (i.e., path) the texmaps came from ... and only uses the "name" after loading. If you are controlling the names of the texmaps, may I suggest that you use the same technique that Poser uses, e.g. test_1.jpg, test_2.jpg, etc. cheers, dr geep ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



kuroyume0161 ( ) posted Sat, 02 April 2005 at 1:50 PM

This makes sense, geep, since Poser is not refering to a file, per se, with loaded geometry (it's all internal after load), but is refering to a file with texture images. I think that they do this, as other 3D applications do, to conserve memory since large bitmaps take up vast quantities of it. For Material nodes, the thumbnail is just a small bitmap representation of the full-sized image. And during renders, the images are loaded then, hopefully, unloaded from memory. That all said, it is hilarious that Poser cannot distinguish texture image files by path. I realize that 'red.jpg' is not a good filename, but isn't the entire idea of OS and file system to organize so as to avoid these issues? If I specifically point to a particular file, darnit, I want that file referenced always. Why would Poser need to search for an explicitly referenced file?

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


geep ( ) posted Sat, 02 April 2005 at 2:12 PM

re: " ... but isn't the entire idea of OS and file system to organize so as to avoid these issues?"


Hi kuroyume0161, Yes ... but ... YOU are the controlling factor when something is loaded ... i.e., you specify the path, e.g., subfolders, etc. and Poser is neither an OS nor a file system, per se. ;=] I don't know (but I suspect) that Poser does not keep track of a "path" after it has loaded something. It only knows an entity by it's internal name, hence, duplicate names cause problems. Some path names can get pretty long and if Poser stored the complete path for all of the items that it has loaded, it would require more memory. I am guessing that one of the Poser programmers made an executive level decision to not save the entire path after an object (or map) is loaded. Just a guess, I could be wrong. cheers, dr geep ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



constantine_1234 ( ) posted Sat, 02 April 2005 at 2:26 PM

The solution is easy. Stop using generic file names that are most likely duplicated elsewhere.


NaySayGuy ( ) posted Sat, 02 April 2005 at 2:49 PM

hey - whoiz dis guy constantpesttine_1234567890 ?
he gots sum purdy goode ideaz an stuffe - dun't he?
ha ha ha ha ------ it purdy gud


kuroyume0161 ( ) posted Sat, 02 April 2005 at 2:52 PM

Even 10,000 path names of 256 characters each only utilizes 2.56 MB of memory (this is an overly extreme case to show that this is a non issue). The "Poser programmer" who made the executive level decision was wrong - and is hopefully otherwise unemployed. ;0)

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


geep ( ) posted Sat, 02 April 2005 at 3:02 PM

re:"The "Poser programmer" who made the executive level decision was wrong ..."


Hi kuroyume0161, You have a valid point ... but may I add that much of the code that is written is probably modular and, as such, a programmer may ... (out of necessity because of time constraints - you know the good ole "deadline" ;=] ) ... use someone else's code (module, subroutine, whatever) which may appear to be exactly what is required to "do the job." This can (and probably does) cause problems such as the one we are discussing. 'Tis not a perfek world Cherrie, n'est pas? (rhet) cheers, dr geep ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



Dizzi ( ) posted Sat, 02 April 2005 at 3:20 PM

yes, Poser 5 also cannot handle textures with the same name in the material room. BUT P5 at least takes the textures from the locations they are referenced in a PZ3 and CR2 (runtime:textures:...) but P6 just takes the texture it likes... Maybe it's because i just added the P5 runtime to P6... i'll try replacing the P6 standard runtime with a link to the P5 one...



anxcon ( ) posted Sat, 02 April 2005 at 3:22 PM

when i buy items or find frrebies i rename the files and edit the inj/rem/mat/etc Model (unimesh/judy/jessi/dork/etc) Name (mandy/malia/julia/etc) Part (head/body/eyes/etc) Type (trans/bump/disp/etc) UniF-Malia-Head-Tex.jpg UniF-Julia-Body-Bum.jpg lately ive taken bump/disp/trans maps and combined them into one map to save memory/time/space RGB=BDT :) this is just extra work for convinience later but the renaming part, ensures nothing gets crossed


Gareee ( ) posted Sat, 02 April 2005 at 4:16 PM

So you added the P5 runtime TO the P6 runtime? That might be your issue. P6 uses some files for setup from it's runtime that P5 also used, and they may be different. CL and every single person who's replied on the subject that seems to know what they are talking about, says to reference the p5 runtime as an additional runtime, and NOT to merge them together.

Way too many people take way too many things way too seriously.


geep ( ) posted Sat, 02 April 2005 at 4:20 PM

re: " ... reference the p5 runtime as an additional runtime, and NOT to merge them together."


YES !!! cheers, dr geep ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



Dizzi ( ) posted Sat, 02 April 2005 at 4:26 PM

Of course i did not merge them together... As you can see from the Image, P5 and P6 have their own installation directories... But that way P6 takes the wrong textures for CR2s and PZ3s. And of course i could rework every stuff i purchase, but that really is a 2nd class solution...



Gareee ( ) posted Sat, 02 April 2005 at 4:28 PM

I think we need a Poser forum sticky, Dr. Geep: Before installing Poser 6, turn OFF antivirus software. Before running poser 6, install the latest driver update for your video card. Do NOT merge older runtimes with the new P6 runtime... just link them as additional runtimes in poser 6 I think each of these has been asked and answered about 4 times a day for the last week. Of course, when I installed Poser6 for the first time, I forgot to turn off my virus software.. LOL! Fortnately, I remebered reading aboutthat here...

Way too many people take way too many things way too seriously.


Gareee ( ) posted Sat, 02 April 2005 at 4:31 PM

Cool, Dizzi... I think I've seen half a dozen people just toss everything toghter, and not understand why it doesn't work... Maybe it'll be addressed in the patch?

Way too many people take way too many things way too seriously.


Dizzi ( ) posted Sat, 02 April 2005 at 4:53 PM

Looks like it's a problem with references and external runtimes. I renamed the P6 texture folder and instead created a link to my P5 textures folder... Then P6 loads the correct texture. Maybe it's the same with P5, but there i only got one runtime ;-)



geep ( ) posted Sat, 02 April 2005 at 5:35 PM

... only one Runtime? ... Just make another one. ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



Dizzi ( ) posted Sat, 02 April 2005 at 5:56 PM

sigh



geep ( ) posted Sat, 02 April 2005 at 6:03 PM

... hindsight is always 20/20, no? Or, is that too easy? ;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



mikebres ( ) posted Sun, 03 April 2005 at 1:57 AM

They do recommend that you keep your texture file names unique. From the readme file: ------------------------- - Texture search: In previous Poser versions, textures were occasionally specified by their file name only. Since in that case the search mechanism has to search with just the name, it will find the first texture with a matching name. Please keep your texture names unique to avoid loading the wrong texture when opening legacy scene files. Poser 6 always stores an application relative path or an absolute path (whichever is appropriate) in the scene file. Also, the Poser 6 Texture Manager always displays the full path of all loaded or previously loaded textures, facilitating to find out from where textures got loaded. -------------------------- Mike


kuroyume0161 ( ) posted Sun, 03 April 2005 at 3:17 AM

Yes, I read that... and then laughed. As if the content being loaded is completely created or managed by the user at all times. I have gigabytes of content, a very insignificant portion that I created. It would take months to make all of the texture names unique (between texture image file renaming and updating the Poser library files). Again, that's why file systems were developed. And, believe or not, software runs on the OS which manages the file system, to which all file system facilities are available. Nevermind. Maybe the programmer/very long term computer user in me is frustrated by this oddness. ;)

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.