Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sculpty exporter for Wings 3D

Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
05-26-2007 08:42
From: Strife Onizuka
I can say with all sincerity that Erlang has some of the worst documentation ever. It's the bastard child of Perl and Lisp.

I've been pounding on the source for a couple days now, I've managed to make a new shape that doesn't have square polygons (meaning you can have proper sculpt objects now).

Some time later today I'll have finished an importer (and it will support up sizing).


Tesselation wizards, coule we modify Wings to re-tesselate an object? Then we can use the full capabilities of Wings. The exporter would convert the final tesselation into the correct 64x64 grid.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
05-26-2007 08:47
From: Strife Onizuka


What I've come to hate about Erlang is the lack of compile time type checking. Even basic type checking that created warnings would make my life easier.

It's a feature. There is no compile time, it's an interpreted language...
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
what's your paypal address?
05-26-2007 08:52
From: Omei Turnbull
My goal is that when you export from Wings, you will get two bitmap files -- one with the sculpty shape (currently implemented) and one with the appropriately mapped texture, ready for uploading into SL (yet to be done).

Wish me luck! :-)

We can wish you a lot more than just luck...
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
Second Life Wings 3D tutorial
05-26-2007 08:55
https://wiki.secondlife.com/wiki/Wings_3D

I have started a Wings 3D tutorial page in the SL Wiki. It is very basic, but outlines the issues that keep coming up here.

Please feel free to visit and edit.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
05-26-2007 08:59
From: Zephyrin Zabelin
So... I want to make sofa seat cushions that are basically rectangular but have rounded edges and corners. I have to make them by squeezing a sphere into that shape. I can do that. But in the game, people who go to sit on my sofa will be sitting up above it on top of invisible spheres because the cushions are still really sphere shaped?


Does it help to Move the object up the Y axis (up in Wings) before you export it?

Speaking of x, y, and z, can someone clarify the relationship between the Wings xyz and the SL xyz?
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
05-26-2007 09:00
From: Hypatia Callisto
I nominate this thread for a sticky - I keep telling people to come here to get the exporter.

Sticky sticky sticky sticky :) please?


Wiki, wiki wiki...
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
05-26-2007 09:02
From: TOPGenosse Brouwer
Hi Omei, thanks for the fast reply!

Sounds like a brilliant solution :) What texture info/painted picture would it take as a basis? Would such a script transform a painted, non-SL UV template (e.g. unwrapped human face) into a SL-friendly bitmap?

You mean this: http://anuk-su.frobozz.us/tutorials/UV/16.jpg ?
Yes, but *that* map is not what SL can use (=my problem)

And the default UVTemplate: http://schallplatten.files.wordpress.com/2007/05/uvtemplate.jpg
I bet that there are cases when this get totally warped and messed up on the sculptie, isn't that the case?? (=my problem)

TOPGenosse, after reviewing your posts on this thread and others, I realize that the desire for texturing might be be divided into two general categories.

The first category would be taking an existing texture (maybe a photograph) and mapping it onto your sculpty in a controllable way. This seems to be your primary desire. Unfortunately, I don't have any good ideas on how to do that easily. :-(

The second category would be painting your sculpty texture from scratch. This is what (I gather) Zbrush is really good for. It's also the way I was thinking of using Wings' texturing capabilities. So when I talk of wanting the exporter to export a SL-ready texture bitmap, it is really this second category that I am thinking of.
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
05-26-2007 09:12
From: Lee Ponzu
We can wish you a lot more than just luck...

Thanks for the offer, Lee. But I want to keep SL as recreation and not get it confounded with RL income. Just knowing that people are interested in using Wings is enough motivation for me.
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
05-26-2007 09:18
From: Lee Ponzu
https://wiki.secondlife.com/wiki/Wings_3D

I have started a Wings 3D tutorial page in the SL Wiki. It is very basic, but outlines the issues that keep coming up here.

Please feel free to visit and edit.


Good idea. Thanks for starting it, Lee.
LeVey Palou
Registered User
Join date: 31 Aug 2006
Posts: 131
05-26-2007 09:21
From: Thunderclap Morgridge
No, because SL can't handle it. If you need to do that, make it as an obj and then use the obj to scultpie program posted here.
I will say that, that decent function shapes can be made with that limitation. It won' be pretty or clean but this is SL. Unless you are making a house the inperfection will be so small as to be unnoticeable.




OBJ to SCULPTIE program....posted where? sorry i didnt follow that. Do you mean the wings program itself?

Please explain I am all ears.
smiles


And BTW, Omei if I havent said it before....Thank you!
Gryff Richard
Registered User
Join date: 10 Nov 2005
Posts: 51
Sculpty exporter for Wings 3D
05-26-2007 11:23
Well done Omei ... works well. The hard part I think is the sculpting and understanding what SL will do with our creations.

have attached my first real creation ... only mushrooms ... but they are textured with a texture I made. The little inset shows the texturing underneath. The texture was created using UVMapper and Corel Photopaint. Good texturing is going to be tricky I think.

Is the upper limit a 64x63 sphere?

gryff :)
Dzonatas Sol
Visual Learner
Join date: 16 Oct 2006
Posts: 507
05-26-2007 12:23
From: Omei Turnbull

The first category would be taking an existing texture (maybe a photograph) and mapping it onto your sculpty in a controllable way. This seems to be your primary desire. Unfortunately, I don't have any good ideas on how to do that easily. :-(


Amorphium allows on to take an existing texture and apply it, warp it in many styles, and further bake it. The textue can be applied as the actual color of teh object, as the specular map, the bump map, reflective map, etc.

I still use Wings3D to do the final conversion.
Seph DaSilva
Registered User
Join date: 26 Apr 2005
Posts: 27
05-26-2007 12:30
A problem solved:
Using Strife's exporter in Wings, sticking to vertex/face/edge manipulation of a sphere only, I was seeing what I wanted in the SL upload preview, but once in game, I saw a mangled heap.

I attempted to open the bmp format exports in photoshop, but got 'disk error' (in both v7 and cs2).

fix: opened fine in... MS PAINT. (OMG LOL). Resaved bmp with no changes. Now it opened in photoshop okay. resized to 32x32 or 64x64 pixels (constrain proportions OFF). Upload. ALL WAS WELL :)
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
05-26-2007 12:46
From: Gryff Richard
have attached my first real creation ... only mushrooms ... but they are textured with a texture I made. The little inset shows the texturing underneath. The texture was created using UVMapper and Corel Photopaint. Good texturing is going to be tricky I think.


Nice job with the muchrooms, Gryff. When using Photopaint, did you simply start off with a pretty good understanding of how the texture was going to get mapped to the sculpty, and then use UVMapper as a previewer to double-check it? Or is there a more sophisticated way to use UVMapper?

From: someone
Is the upper limit a 64x63 sphere?

I think SL will accept a wide range of .bmp sizes. But it is only going to display the sculpty based on a 32x32 mesh (or fewer, at lower LOD). If your mesh vertices don't align with the 32x32 grid it wants, it will interpolate values. So you can't use a larger mesh to get more details. On the other hand, the interpolation used with a large mesh might help balance out JPEG compression artifacts. I hate to encourage the use of large textures for that, though, since a much better solution seems to be for Qarl to use lossless compression for small textures.

I'm thinking I should change my exporter to allow any sphere parameters, and just "recommend" 16x15 and 32x31 as the best for most uses. That way, people who want to experiment with alternatives can do so.

Also, note that 64x63 sphere does give you a few more control points than a 32x31 one, but in a really ideosyncratic way. Basically, you get one extra "slice", at the expense of loss of transparency as to how to make use if it.
Thunderclap Morgridge
The sound heard by all
Join date: 30 Sep 2006
Posts: 517
05-26-2007 13:48
From: Omei Turnbull
TOPGenosse, after reviewing your posts on this thread and others, I realize that the desire for texturing might be be divided into two general categories.

The first category would be taking an existing texture (maybe a photograph) and mapping it onto your sculpty in a controllable way. This seems to be your primary desire. Unfortunately, I don't have any good ideas on how to do that easily. :-(

The second category would be painting your sculpty texture from scratch. This is what (I gather) Zbrush is really good for. It's also the way I was thinking of using Wings' texturing capabilities. So when I talk of wanting the exporter to export a SL-ready texture bitmap, it is really this second category that I am thinking of.


If you are going with the second idea, and wings 3d allows it. That would be great. I just figured the first would have been easier.
Also three other things, can who knows milkshape create the plugin for them so they can throwing into the next build it would be awesome.
Two, an SL previewer like the Clothes Previwer would also be awesome. A free standing program (as I don't code .net and my c++ is old, so old) would rock. Just import the scultpie in (tga) and it shows you how the grid would eat it.
I know that would save alot of us would have been uploading at L$10 from being bald etc, at the piles of "vomit" that arrive.
(i haven't had that problem because I have caught it before hand, but others I have read have)
And the final. Can somone explain the letterd squares?
http://anuk-su.frobozz.us/tutorials/UV/16.jpg
I didnnt understand, and it has been a while since I have done 3d design. Thanks everyone.
And if I hadn't said it yet, Thanks Omei for the tool.
_____________________
Gimp:
n : disability of walking due to crippling of the legs or feet
ie. lameness, limping, gameness, claudication

secondlife://Amaro/77/130/39
Come to Thunderclap: the gospel chapel
and Thunderburst: Mens clothes and more.
TOPGenosse Brouwer
Registered User
Join date: 4 Dec 2006
Posts: 16
05-26-2007 14:08
From: Thunderclap Morgridge
Can somone explain the letterd squares?
http://anuk-su.frobozz.us/tutorials/UV/16.jpg
I didnt understand, and it has been a while since I have done 3d design.
I assume this is simply a test image to give an impression how a textured object *would* look. It's like a checker board pattern.
TOPGenosse Brouwer
Registered User
Join date: 4 Dec 2006
Posts: 16
05-26-2007 15:00
From: Omei Turnbull
the desire for texturing might be be divided into two general categories.

- The first category would be taking an existing texture (maybe a photograph)
- The second category would be painting your sculpty texture from scratch. It's also the way I was thinking of using Wings' texturing capabilities.
The 2nd category sounds very cool :) Also, I think, given SL's number of "creative noobs" (incl. me), the 1st category would be very much in demand too.

>> Dzonatas wrote: "Amorphium has the 1st feature"
Thanks, unfortunately I don't have a couple of hundred of bucks to spend on this.
TOPGenosse Brouwer
Registered User
Join date: 4 Dec 2006
Posts: 16
05-26-2007 15:04
From: LeVey Palou
OBJ to SCULPTIE program....posted where?
http://forums.secondlife.com/showpost.php?p=1505114&postcount=14

Don't know if there are updates following this particular post.
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
05-26-2007 15:08
From: Thunderclap Morgridge

an SL previewer like the Clothes Previwer would also be awesome.

Funny you should mention that, I was just thinking of doing a texturing tool for sculpties. My thinking was actually something to help in creating textures, by projecting decals onto the mesh. Not sure yet I can do that, was just something I started thinking about.
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions
Thunderclap Morgridge
The sound heard by all
Join date: 30 Sep 2006
Posts: 517
05-26-2007 15:22
Considering that the clothing previewer has saved me dozens of times this would be wonderful.
_____________________
Gimp:
n : disability of walking due to crippling of the legs or feet
ie. lameness, limping, gameness, claudication

secondlife://Amaro/77/130/39
Come to Thunderclap: the gospel chapel
and Thunderburst: Mens clothes and more.
Dzonatas Sol
Visual Learner
Join date: 16 Oct 2006
Posts: 507
05-26-2007 16:45
From: TOPGenosse Brouwer
>> Dzonatas wrote: "Amorphium has the 1st feature"
Thanks, unfortunately I don't have a couple of hundred of bucks to spend on this.


It's only US$79. The others, Zbrush, Mudbox, Silo, are $400+.

Download the trial...

http://www.eitechnologygroup.com/products/amorphium


I'm working on an importer for SL to automate it all, but for now I use Wings3D to convert.
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-27-2007 10:50
From: lencho Schwartzman
OK newest version works in MAC version of wings and UVMapper works also


Cool! Um... where do you put it to use it onna mac?

Mari
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
05-27-2007 11:12
I can't get sculpties to work with 8x8 textures. Omei, can you verify that your exporter is working correctly in that size, so we can see whether it's an SL bug or Wings/exporter problem?

Or if anyone listening uses other programs, can you please try an 8x8 that's not too symmetric?

Thanks,
Jeff
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
05-27-2007 11:55
From: Marianne McCann
Cool! Um... where do you put it to use it onna mac?

Put it anywhere and use the Install Plugin option under the File menu; I think that you can delete the .beam file after that, because Wings copies the plugin to it's secret hiding place.

Note though that it'll only work on the latest version of Wings, and the latest version of Wings only works in the latest version of OSX.

ADDITION: If you really want to know where the secret hiding place is then someone mentioned it earlier in the thread, but for most people it doesn't matter.
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions
Grafix Writer
Registered User
Join date: 14 May 2007
Posts: 9
Mac Wings
05-27-2007 12:26
Okay, I installed the the dev version (36), and installed the plugin, then created an object from a sphere, but when I went to export, I got the the "bad match" crash dialog that was mentioned earlier in this thread. Has a fix or workaround been found for this?

If not, would somebody be willing to covert my Wings3D .obj file, so I can upload it?

I'm trying to learn Blender...
1 ... 5 6 7 8 9 10 11 12 13 ... 32