Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Offline Builder: Now in Beta

Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
09-18-2006 18:26
Try clicking "Load" and "Save" in the gui that comes up when you run the tool. ;)
_____________________
---
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
09-18-2006 20:30
thanks, i see the xml now, but the problem now is, if i create a slightly more complex model such as a house (more prim), it will save, then messes up the prims (in blender) and when i export to the offline builder box, it just rezzes up a few prims instead of all of them, i guess i have to do it the maya way.
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
09-18-2006 22:03
From: Mobius Hashimoto
thanks, i see the xml now, but the problem now is, if i create a slightly more complex model such as a house (more prim), it will save, then messes up the prims (in blender) and when i export to the offline builder box, it just rezzes up a few prims instead of all of them, i guess i have to do it the maya way.


A good way to report bugs is to submit/upload the xml file that isn't working right and explain which programs it's not working in (prim.blender, the importer, both?), what is going wrong with it (loads a random subset of the prims each time, loads the same prims every time but only a few of them, rotations are wrong, etc), and the version(s) of the buggy software.
_____________________
http://www.libsecondlife.org

From: someone
Evidently in the future our political skirmishes will be fought with push weapons and dancing pantless men. -- Artemis Fate
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
09-19-2006 02:32
From: Eddy Stryker
A good way to report bugs is to submit/upload the xml file that isn't working right and explain which programs it's not working in (prim.blender, the importer, both?), what is going wrong with it (loads a random subset of the prims each time, loads the same prims every time but only a few of them, rotations are wrong, etc), and the version(s) of the buggy software.


ok here's my xml, suppose to have around 10-15 prims
<primitives>
<primitive name="Object" description="" key="Num_685612601" version="2">

<states>
<physics params="">FALSE</physics>
<temporary params="">FALSE</temporary>
<phantom params="">FALSE</phantom>
</states>

<properties>
<levelofdetail val="2" />
<type val="0" />
<position x="0.0" y="0.0" z="0.0" />
<rotation x="0.0" y="0.0" z="0.0" s="1.0" />
<size x="5.12219524384" y="5.12219524384" z="0.0793772339821" />
<cut x="0.0" y="1.0" />
<dimple x="0.0" y="1.0" />
<advancedcut x="0.0" y="1.0" />
<hollow val="0" />
<twist x="0.0" y="0.0" />
<topsize x="1.0" y="1.0" />
<holesize x="1.0" y="0.5" />
<topshear x="0.0" y="0.0" />
<taper x="0.0" y="0.0" />
<revolutions val="1.0" />
<radiusoffset val="0.0" />
<skew val="0.0" />
<material val="3" />
<hollowshape val="0" />

<textures params="">
</textures>

<scripts params="">
</scripts>

</properties>

</primitive>
<primitive name="Object" description="" key="Num_67680717" version="2">

<states>
<physics params="">FALSE</physics>
<temporary params="">FALSE</temporary>
<phantom params="">FALSE</phantom>
</states>

<properties>
<levelofdetail val="2" />
<type val="0" />
<position x="-1.8410077095" y="-0.226271823049" z="0.84162324667" />
<rotation x="0.0" y="0.0" z="0.0" s="1.0" />
<size x="0.826221704483" y="0.310167431831" z="0.0513522140682" />
<cut x="0.0" y="1.0" />
<dimple x="0.0" y="1.0" />
<advancedcut x="0.0" y="1.0" />
<hollow val="0" />
<twist x="0.0" y="0.0" />
<topsize x="1.0" y="1.0" />
<holesize x="1.0" y="0.5" />
<topshear x="0.0" y="0.0" />
<taper x="0.0" y="0.0" />
<revolutions val="1.0" />
<radiusoffset val="0.0" />
<skew val="0.0" />
<material val="3" />
<hollowshape val="0" />

<textures params="">
</textures>

<scripts params="">
</scripts>

</properties>

</primitive>
<primitive name="Object" description="" key="Num_964294785" version="2">

<states>
<physics params="">FALSE</physics>
<temporary params="">FALSE</temporary>
<phantom params="">FALSE</phantom>
</states>

<properties>
<levelofdetail val="2" />
<type val="1" />
<position x="-1.47655332088" y="-0.138204887509" z="0.365323275328" />
<rotation x="0.0" y="0.0" z="0.0" s="1.0" />
<size x="0.0425907298923" y="0.0425907298923" z="1.38721656799" />
<cut x="0.0" y="1.0" />
<dimple x="0.0" y="1.0" />
<advancedcut x="0.0" y="1.0" />
<hollow val="0" />
<twist x="0.0" y="0.0" />
<topsize x="1.0" y="1.0" />
<holesize x="1.0" y="0.5" />
<topshear x="0.0" y="0.0" />
<taper x="0.0" y="0.0" />
<revolutions val="1.0" />
<radiusoffset val="0.0" />
<skew val="0.0" />
<material val="3" />
<hollowshape val="0" />

<textures params="">
</textures>

<scripts params="">
</scripts>

</properties>

</primitive>
</primitives>

tried to load it into the importer, i got 3 prims back, then i went back to blender, the saved .blend file was all messed up, all the shapes are deformed and just didn't look like what i had before.

Seems to me the prim.blend does not take the prims that i duplicated using blender's duplicate function hmm...maybe i should just use the copy function then.

Thanks
Femina Matahari
Registered User
Join date: 14 Sep 2006
Posts: 75
Thanks Mobius
09-19-2006 04:50
Mobius thank you so much for explaining to me now I can import only problem is as unless they are the most simplest of shapes that have had hardly anything done to them they squiggle and wind themselves up into shapes I never designed.

Oh well thanks any way and to Jeff and Thraxis for all your hard work.

Femina
Thraxis Epsilon
Registered User
Join date: 31 Aug 2005
Posts: 211
09-19-2006 09:00
From: someone

Seems to me the prim.blend does not take the prims that i duplicated using blender's duplicate function hmm...maybe i should just use the copy function then.


Correct. This was discussed somewhere around page 3 of this thread and it is why there is the "Copy" button was added to the interface.

---------

Femina, if you reload the .prim file back into prim.blender does it look how you expect it to look? If it does can you send me that file? Notecard drop in-world would be fine.
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
09-19-2006 12:10
From: Thraxis Epsilon
Correct. This was discussed somewhere around page 3 of this thread and it is why there is the "Copy" button was added to the interface.

---------

Femina, if you reload the .prim file back into prim.blender does it look how you expect it to look? If it does can you send me that file? Notecard drop in-world would be fine.


heh, kinda having a hard time telling myself not to use the blender functions...but i will try
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
09-19-2006 17:48
From: Mobius Hashimoto
ok here's my xml, suppose to have around 10-15 prims
<snip>


Whoa. Is that with the latest version of Blender and the tool? 'cause I made doublesure it wasn't doing that. :eek:

Edit: Oh... yeah. Blender only allows so many hooks in its API for things like that I'm afraid. Short of polling the thing repeatedly (which would suck), I don't think an event is called by stuff like that yet.

But when it is, I should be able to fix stuff like that. :)
_____________________
---
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
09-19-2006 17:57
From: Jeffrey Gomez
Whoa. Is that with the latest version of Blender and the tool? 'cause I made doublesure it wasn't doing that. :eek:

Edit: Oh... yeah. Blender only allows so many hooks in its API for things like that I'm afraid. Short of polling the thing repeatedly (which would suck), I don't think an event is called by stuff like that yet.

But when it is, I should be able to fix stuff like that. :)


i'm sure the script is working fine, it was because i was using the blender duplicate function instead of the script's copy. It looks fine now that i keep reminding myself not to use shift D but use the copy button, my test building was perfectly rezzed.

Thanks and good work with that script. Guess i can start being a builder now

its just a matter of time before i turn my own 3d work to sl :)

http://www.project-mobius.com/images/maross.jpg
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
09-19-2006 18:15

And they ask why I want meshes and NURBs so badly... :D

Nifty stuff!
_____________________
---
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
09-19-2006 20:11
not sure if i should post here but oh well too late haha. I'm still testing this script....somehow it still messes up some of the prims in blender


http://www.project-mobius.com/first_building001.jpg
Bo Black
Registered User
Join date: 17 May 2005
Posts: 5
Blender Tutorials
09-24-2006 13:22
I am just learning blender. It is an awesome modelling application. Quite different from the CAD modelling system I use in RL. This thread is very long and I have not read all the posts so I apologize if someone else has already posted a link to the Tufts University's Open Courseware. There are several well detailed video lessons with matching pdf files for Blender. Have fun.

http://ocw.tufts.edu/Course/28
Cherry Czervik
Came To Her Senses
Join date: 18 Feb 2006
Posts: 3,680
09-29-2006 04:07
There's an offline builder? ~rubs eyes~

Bring on the Wednesdays!! BOUNCE BOUNCE BOUNCE OH I wish I had known about this before!!!! THANKS! Mwwwwah!!!
Gaheris Vanek
Registered User
Join date: 26 Jul 2006
Posts: 15
09-29-2006 06:32
W.WW...WWWW...WWW... wow! Hmm!! *wrubbing eyes* This for real? This would be my ultimate SL wet dream! Got to check this out as soon as i get home!!!
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
09-29-2006 20:46
It's for real. Though ahh... the import segment still seems to be very beta. :D
_____________________
---
Bonny Bunyip
She Shoots: She Scores!
Join date: 30 Sep 2005
Posts: 39
can't get SL url pages
10-01-2006 06:34
For some reason, SL url pages always fail to display for me. Why is that? Pop-up blocker? I get the sidebar, but absolutely blank in the central frame. Suggestions?

Is there another way to get the files without going to SL url?
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
10-01-2006 15:33
Yep. Just look up Thraxis Epsilon's store from his profile or Find Places. :)
_____________________
---
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
10-02-2006 20:58
Shameless plug:
http://games.slashdot.org/games/06/10/02/2244220.shtml

:D
_____________________
---
Angela Glitter
Registered User
Join date: 31 May 2006
Posts: 16
10-12-2006 11:27
I'm missing something somewhere. I created a file with blende that had a couple of cubes in it. I obtained the converter in world and followed the instructions in respect to copy/paste the blender file into a note and then drop on the tool in sl. the tool says its working and then finishes. but no prims are created in sl.

Is there a step by step tutorial for creating a single prim in blender, getting it out of blender, and into sl?
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
10-12-2006 13:14
angela, when you open the .blend file in notepad, did you see XML? or an empty file? I think u've done the right steps but here it is just incase.

1.create something in blender (only use the left panel's functions, not blender's own functions)
2.save using the left panel "save"
3.open the .blend file using notepad
4.copy the XML content from notepad to a notecard in SL
5.drag the notecard to the offline importer
6.wait and see

hope that helps
Mobius
_____________________
Project Mobius - Web/Graphic Design and Tech Reviews

Please check out my items @

Blog about games, gadgets & technologies @
Angela Glitter
Registered User
Join date: 31 May 2006
Posts: 16
10-13-2006 12:10
thanks Mobius. No it isnt XML. That must be where my difficulty is.
Angela Glitter
Registered User
Join date: 31 May 2006
Posts: 16
10-13-2006 13:02
From: Mobius Hashimoto
angela, when you open the .blend file in notepad, did you see XML? or an empty file? I think u've done the right steps but here it is just incase.

1.create something in blender (only use the left panel's functions, not blender's own functions)
2.save using the left panel "save"
3.open the .blend file using notepad
4.copy the XML content from notepad to a notecard in SL
5.drag the notecard to the offline importer
6.wait and see

hope that helps
Mobius

ok i missed something somewhere obviously. what do you mean by left panel functions? my apologies for not following most of the thread. i'm learning this tool as i go. i really do want to use this method. it is so superior to hacking things out in world.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
10-14-2006 11:12
From: Angela Glitter
*

The tool, as it were, is a python script meant to be run in the included .blend file. The left panel (which starts off as a bunch of text) needs to be run locally, via Right-Click > Execute Script or Alt-P when the mouse is in that window.

Once running, you must also save in that area, since the core .blend format doesn't write out the proper XML. To save and load files, simply press their corresponding buttons in the lower part of the script window.


As for importing, you should be able to then copy-paste the output to a notecard and drag it into Thraxis' importer to be run. The LibSecondLife folks are also working on their own importer with interesting results, but I have yet to hear of a release of this.

Hope that helps. :)
_____________________
---
Pompo Bombacci
Some designer :)
Join date: 25 Jul 2006
Posts: 69
dload Prim.Blender too?
10-14-2006 11:22
Do I need to dwnload Prim.Blender too or not?
(Mac osx)
Angela Glitter
Registered User
Join date: 31 May 2006
Posts: 16
10-14-2006 11:28
ok for whatever reason the day i first encountered this neat tool the prim builder file wasnt visible/available on sf.net. i.e.; without the script to run in blender it is rather pointless. now that i can get the proper xml out of blender i can continue to learn the tool. especially since sl remains down with only pathetic humor status being uttered by linden labs. not too sure i will be wasting much more time and money on sl anyway but thanks for the neat tool.
1 2 3 4 5 6 7 8 9 10 ... 16