Wed, Nov 20, 1:41 AM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

Forum Moderators: Staff

Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)

Welcome to the Poser Technical Forum.

Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)

This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.

New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Will Poser handle this: actor My Actor Name {


kuroyume0161 ( ) posted Mon, 08 October 2007 at 7:06 PM · edited Wed, 21 August 2024 at 4:53 AM

What I mean is, of course, if the opening brace for the section is on the same line of a keyword that has a name as exemplified in the Subject.  Will Poser choke or treat the { as the opening brace instead of as part of the name?

Thanks,
Robert

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


msg24_7 ( ) posted Tue, 09 October 2007 at 12:44 PM

Poser will tell you: "The file being read is not a valid Poser file"

When you close the error message, Poser will show the figure in some random diffuse color
but there is no actor or prop that can be selected from the drop downs.

The Hierarchy Editor will show all body parts, but treats the { as part of the name.

So Poser won't "choke", but you can't use the file for anything either, because you can't delete the item from the scene.

Martin

Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present.


nruddock ( ) posted Tue, 09 October 2007 at 1:11 PM · edited Tue, 09 October 2007 at 1:20 PM

I suspect that even if Poser could cope with this, other programs that read Poser files probably wouldn't.


kuroyume0161 ( ) posted Tue, 09 October 2007 at 1:37 PM

With some experimentation on a test CR2, it appears that Poser will handle incidents like this:

actor MyActor {

Don't know if it will handle spaces in the name part but I am assuming that any time an opening or closing brace is encountered it is parsed as such (unless in quotes etc.).

I suspect that Poser is using a state-machine type of parse to handle the nesting with braces as a token-by-token parse would be slow and less apt to handle names with whitespace properly.

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


kuroyume0161 ( ) posted Tue, 09 October 2007 at 3:54 PM

Okay, so this works in Poser:

actor MyActor {

but this doesn't:

actor My Actor {

For my code, I'm going to go ahead and support either type - always considering a 'naked' { as a real section delimiter and not part of the name despite Poser's protestations under similar circumstances.
Thanks!

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.