Set texture image to file not full path
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/04/2003 at 12:10, xxxxxxxx wrote:
yes good
But you dont thinks is better to let the User do this
Liek for me I have many Poser runtime
And also text in some other folder,,,I do this for priority,,, yes If I make a perssonge that is far away I desable one of the path then it take all Low res textures and if is a cloup I enable them...
So is not a big deal to set up those path :O)
niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/04/2003 at 12:40, xxxxxxxx wrote:
No way. Better to do as much as possible for the user - otherwise, what's the use of writing plugins? ;0) For sanity's sake, a certain amount of standardization must be considered. If anything goes, the plugin would never work or be so complex, that it'd be guaranteed not to work properly. Poser expects geometries in its ":Runtime:Geometries" folder and textures in its ":Runtime:textures" folder (even though they even have some wiggle room). I can add some wiggle room (as discussed below), but there has to be a limit (such as search all hard drives for a texture image - which would consume so much time that the plugin would be useless. Do you automatically select the first one found - correct or not - or bring up a dialog so that the user can select one of the matches? What if it is someelse's scene file - for whatever reason - and they, as Poser user's often do, make full references to nonexistent directories - such as D:\Program Files\MetaCreations\Poser 2\Runtime extures\nevertobefoundimage.tif).
At some point, I'll be adding a dialog so that the user can decide on which things to add or not (lights, cameras, materials, bones, etc). Maybe then, instead of using the default locations for geometries and textures, the user can specify where to look. The user does have to point my plugin to the Poser directory, so that's all that is really needed to do so far.
As I noted above, if the texture is in another location (like "D:\b\l\a\h exture.bmp"), it keeps the entire path and points to it, otherwise, when ":Runtime" is included, the Poser path is prepended and the texture sought there. If no ":Runtime" is included (such as ":zwizzles_texs:texture.jpg", it has to assume that this is a subdirectory of ":Runtime:textures" and prepends that as well.
It's not a big deal when you eventually FIND the information. The SDK Help file (.chm) sucks in this regard. The index lookup only goes for the first characters matching the term while the search doesn't work at all - try searching for "TexturePath" (which should match "GetGlobalTexturePath and "SetGlobalTexturePath", even in case). It doesn't work. I'm getting ready to unzip the HTML SDK documentation - at least I can search that...
You still didn't divulge how to modify the channel w/o getting the Container. As I don't expect to find it in the docs or online or by chance, I'd like to know.
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/04/2003 at 13:26, xxxxxxxx wrote:
BTW, Niki, does your plugin do any bone rigging or add morph channels (ala PoseMixer) from the Poser file? Basically, I'm only writing this plugin because I haven't found anything else that does. There is one for LightWave, but I am not too partial to LightWave and the results still need some work after loading the Poser file.
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 08:49, xxxxxxxx wrote:
No my plugs do not do any bones stuff
I'm primary draw Comic book
At the base is to use poser 5, but it dont work so I go back to C4D r8, I use to have the r7, but R8 give more then a need for lights etc...
For me C4D is a tools, but the plugins fron CL don work so, we do our own. I i give all for free...
But as I say C4D is not a simple Porgram and not a toy...
So we do those plugs for what i Need...
So i use poser only for pose amnd morph , all rest is done in C4D All MAT's etc, can be 100 tiems better in C4D...
So we do a plug base on OBJ, Why is faster from Poser...
PZ3 files is to slow for what i need... I any question I'm hereFor your plug If you do Bones is nice and I will be interested, but to take a way poser Need
NIki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 09:23, xxxxxxxx wrote:
These are some of the "deficiencies" of Poser about which I speak. Lighting in Poser is very primitive, renders are not as good and slower, and although Poser rigging uses IK, it really is not the best IK. C4D's IK and new Soft IK are much better (if not more complex to understand) especially for animation - which is the direction in which I'd like to head. I've used Poser's animation tools, but did not find them very intuitive or stable and this can be attested to by the fact that there are so very few Poser animations out there.
And, as you say, the plugin from CL isn't good at all. That's why some of us are taking on this ourselves.
I'm grateful for your help so far and it's great that you make your plugin available free of charge - which is amazing considering the amount of work involved, as I am finding out.
As for the PZ3 files, you'd be amazed at how fast you can parse them - even at 15MB or more. Of course, my benchmark is on a 2.54GHz P4 w/1GB DDR memory, so it may be slightly biased! ;0)
In my case, instead of parsing, setting, parsing, setting, I waste some memory and parse the entire file into appropriate classes (PoserScene, PoserCharacter, PoserObject (for props, actors, lights, and cameras), PoserFigure (added to PoserCharacter for rigging and hierarchy), PoserChannels (within each PoserObject), and so on). Then all of the necessary information and, most importantly, the linkages (fields in the file that point to other actors, props) are set and available for building the scene.
Poser, like C4D, is a tool. In this case, I like the "extensions" (pre-configured characters) better than the tool itself. Since these "extensions" can be fitted to work with another better tool, C4D, I am willing to spend time making the necessary adapter so that the extensions can be used there.
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 11:23, xxxxxxxx wrote:
You like to talk about what you do right
Is good
If you want to see et try my plugs is on my site for free any way
I do get very well what you try to do...
I mean technicaly yes, but the ending of
Niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 11:39, xxxxxxxx wrote:
In all actuality, I don't expect that a plugin that loads the bones and morphs from a Poser character will cause any damage or deterioration of Poser use itself. There is already a plugin for LightWave that does all of this for all Poser files (PZ3, CR2, HR2, PZ2, etc) and haven't see any effect on the number of users of Poser.
I guess, this is more of a challenge to me. In the end, my knowledge of Poser and C4D will be enhanced by the research involved. Also, I will finally be able to work on more "professional" quality animation without having to spend thousands for premade characters (with no morphs) or spending months making them myself. Eventually, it will probably be more gratifying to create my own rigged characters, but for now it is more hindrance than advancement.
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 11:43, xxxxxxxx wrote:
Well ok I understand better now
If a day you have some to show let me know , or if you want to talk about it let me know too
Niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/04/2003 at 07:56, xxxxxxxx wrote:
Did you have an idea how to resize a GeDialog, well I mean
is base size is ok, but to size in it all contents ?Niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/04/2003 at 10:19, xxxxxxxx wrote:
Do you mean spread the contents out so that they are not too packed together?
If you use Groups, you can use GroupBorderSpace(...) to put some space between them. Since GeDialog layouts are done internally and automatically (like Java), you have to give it all of the objects (Text, Buttons, Groups, etc) either in the CreateLayout() method or in a dialog resource file.
I use Groups the same way I use JPanels in Java - to divide and conquer the dialog display space into regions and to spread things out for a more easily interpreted display for the user.
Let me know if I understood your question correctly.
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/04/2003 at 10:31, xxxxxxxx wrote:
Well yes os true...
But is you look the reseditor...
You set all groups to Scale Fit etc... button etc too...In the resEdit it work fine
But in the SDK i dont fineout the command that do this
I know is a C++ standard when i use MFC is no problem
But here I dont see how it workNiki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/04/2003 at 08:48, xxxxxxxx wrote:
Oh, I see.
That's because it's called something else, of course. ;0)
BFH_SCALEFIT
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/04/2003 at 12:16, xxxxxxxx wrote:
O ok but how to use it
Niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/04/2003 at 12:35, xxxxxxxx wrote:
Use it in the flags field for the resource or flags argument for the method:
AddStaticText(4001,BFH_CENTER|BFV_CENTER,0,0,GeLoadString(ERROR_MEMORY_TEXT),BORDER_NONE);Check out "Dialog resource" in the Help files for using flags in a resource.
Also check out "Description resource" for Groups, Layout Layouts, etc. for dialog resources.
Hope that helps and let me know if you have any other Dialog questions!
Robert -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/04/2003 at 12:42, xxxxxxxx wrote:
O ok but that I know is not what I'm Looking for
Is after , that i Done is ResEdit and it work in it
Is after in the plugins it self . how to : If a enlarge the Dialog with the mouse to make all in side enlarge too, same as is in the ResEdit
Niki
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/04/2003 at 00:47, xxxxxxxx wrote:
Ok it work Now
I just add the BFH_SCALEFIT|BFV_SCALEFIT
in the LoadResource of the Dlg
Thanks
Niki