Question about texpages
Re: Question about texpages
ok I just saw that for pie2-definition...
Polygons n...
on each line blablabla ... INTEGER... I've got floats there still
next try follows
Polygons n...
on each line blablabla ... INTEGER... I've got floats there still
next try follows
Re: Question about texpages
yep my pie-file is bad...
in the polygon-information there follows the #points, always 3 in my file, thats ok..
but the U/V coordinate-part was with 0.xxxxx values, thats why it just took the top left pixel of my texpage...
sounds reasonnable, I'm just going to edit and check
in the polygon-information there follows the #points, always 3 in my file, thats ok..
but the U/V coordinate-part was with 0.xxxxx values, thats why it just took the top left pixel of my texpage...
sounds reasonnable, I'm just going to edit and check
Re: Question about texpages
the remedy 0.xxxxx values multiplies by 256Puhdoo wrote:but the U/V coordinate-part was with 0.xxxxx values
The pie 2 format does not use floating point 1.0 to 0.0 dimensions it uses exact position x y co-ords on a 256 by 256 image if your image is larger the game still only uses a 256x256 co-ords..
Re: Question about texpages
I got it!
WMIT still does a good job for getting the shape into PIE-format for me.
Then I re-calculated the UV-coords, that was faster than converting to PIE 2 directly,
because with obj2pie I lost some polygons, and had to adjust the size sometimes
I'll probably write a program to recalculate the UV-coords from 0.0-1.0 to 0-255, doing this manually is bad
The body looks terrible, anyway I'm going to integrate this into the research tree as a next step,
just to know how it works
WMIT still does a good job for getting the shape into PIE-format for me.
Then I re-calculated the UV-coords, that was faster than converting to PIE 2 directly,
because with obj2pie I lost some polygons, and had to adjust the size sometimes
I'll probably write a program to recalculate the UV-coords from 0.0-1.0 to 0-255, doing this manually is bad
The body looks terrible, anyway I'm going to integrate this into the research tree as a next step,
just to know how it works
- Attachments
-
- body1ingame.png (204.83 KiB) Viewed 6605 times
Re: Question about texpages
Someone really needs to upload a windows binary of the latest WMIT for everyone to download, it supports pie 2 and a lot of other nice features. It may only be alpha software, but really, while berg's interface for obj2pie is good, it's still just obj2pie and the community needs more than that.
Therefore I beg anyone who can compile it for windows, give the power of WMIT to the people
Therefore I beg anyone who can compile it for windows, give the power of WMIT to the people
-insert deep philosophical statement here-
Re: Question about texpages
That would be great, I like WMIT
besides... I had to...
and it doesn't even look so bad, I mean it's still just 1 cube:
besides... I had to...
and it doesn't even look so bad, I mean it's still just 1 cube:
- Attachments
-
- body1ingame2.png (275.4 KiB) Viewed 6599 times
Re: Question about texpages
Sounds like a job for a python script.I'll probably write a program to recalculate the UV-coords from 0.0-1.0 to 0-255, doing this manually is bad
Re: Question about texpages
Heyhoo,
I was able to integrate my new light body into the research tree as a new item
Thanks for your help again, the docs about all the txt files and wrf is also very good.
I was able to integrate my new light body into the research tree as a new item
Thanks for your help again, the docs about all the txt files and wrf is also very good.
- Attachments
-
- mod.wz
- (90.15 KiB) Downloaded 293 times
- Shadow Wolf TJC
- Regular
- Posts: 1047
- Joined: 16 Apr 2011, 05:12
- Location: Raleigh, NC
Re: Question about texpages
Personally, while working on the new .pie models for my Warzone 2100: Contingency mod, I used a .txt editor like Wordpad to edit the .pie files directly. Through trial-and-error (and using WMIT to view my results), I eventually figured out how these .pie files are structured. It may not be the ideal method to work with, but it gets the job done.
Creator of Warzone 2100: Contingency!
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Re: Question about texpages
Hardcore artists model in notepad (you can do it with .obj files too)
Personally, I prefer blender, though
Personally, I prefer blender, though
-insert deep philosophical statement here-
Re: Question about texpages
I admire your determination! Although, a lazy person would just look at the PIE format document on the wiki.Through trial-and-error (and using WMIT to view my results), I eventually figured out how these .pie files are structured.