try this thread: [1]
[1]http://www.sweethome3d.com/support/foru ... 9_offset,0
Search found 40 matches
- Fri Sep 30, 2011 11:38 pm
- Forum: Developers
- Topic: New property in a Piece of Furniture
- Replies: 1
- Views: 4077
- Fri Sep 23, 2011 2:54 am
- Forum: Developers
- Topic: Details about rendering engine
- Replies: 1
- Views: 4182
Re: Details about rendering engine
<r>Hi nasevz<br/>
You can find all your answers in PhotoRenderer.java[1]; specially the constructor
<CODE><s>[code]</s><i>
</i>public PhotoRenderer(Home, Object3DFactory, Quality)
<e>[/code]</e></CODE>
and
<CODE><s>[code]</s><i>
</i>public void render(BufferedImage, Camera, ImageObserver)
<e>[/code ...
You can find all your answers in PhotoRenderer.java[1]; specially the constructor
<CODE><s>[code]</s><i>
</i>public PhotoRenderer(Home, Object3DFactory, Quality)
<e>[/code]</e></CODE>
and
<CODE><s>[code]</s><i>
</i>public void render(BufferedImage, Camera, ImageObserver)
<e>[/code ...
- Sat Aug 27, 2011 2:36 am
- Forum: Developers
- Topic: Place Furniture randomly
- Replies: 5
- Views: 3606
Re: Place Furniture randomly
Just out of curiosity: how do you plan to do it?
A plugin is the most straightforward way I can think of.
A plugin is the most straightforward way I can think of.
- Thu Aug 25, 2011 1:56 am
- Forum: Developers
- Topic: Place Furniture randomly
- Replies: 5
- Views: 3606
Re: Place Furniture randomly
<t>Well, I think it is because that feature is not a standard one for home design (nor one most people would ask for). However, it is a chance for you to develop such a feature.<br/>
It should not be that difficult to develop a plugin which does that. One solution can be to randomly move the ...
It should not be that difficult to develop a plugin which does that. One solution can be to randomly move the ...
- Tue Jun 28, 2011 9:05 pm
- Forum: Wishlist
- Topic: Feature "Replace with..."
- Replies: 5
- Views: 4346
Re: Feature "Replace with..."
<t>In deed, if I remove a HomePieceOfFurniture from the Home, create a new one with the removed dimensions and coordinates (and maybe some other properties), and then add it to the Home (I can get the current Home from a Plugin, then get the selected items, remove and add) the rest would be a UI to ...
- Thu Apr 21, 2011 6:50 pm
- Forum: Developers
- Topic: Plugin - Creating Objects with other Properties
- Replies: 25
- Views: 23790
Re: Plugin - Creating Objects with other Properties
<r>Still, there is something you can do without messing with the code.<br/>
in your Plugin constructor, get the Home and add a listener:
<CODE><s>[code]</s><i>
</i>getHome().addFurnitureListener(new CollectionListener<HomePieceOfFurniture>(){
void collectionChanged(CollectionEvent ...
in your Plugin constructor, get the Home and add a listener:
<CODE><s>[code]</s><i>
</i>getHome().addFurnitureListener(new CollectionListener<HomePieceOfFurniture>(){
void collectionChanged(CollectionEvent ...
- Mon Apr 18, 2011 7:02 pm
- Forum: New versions
- Topic: Sweet Home 3D 3.2
- Replies: 8
- Views: 47816
Re: Sweet Home 3D 3.2
<r>Hallo Hans:<br/>
that should be a Ubuntu issue. I'm using Windows XP SP3, SH3D Version 3.2 Beta 4, Java version 1.7.0-ea, and everything works fine.<br/>
<I><s>[i]</s>There is a small bug in the grid: it doesn't show subdivisions<e>[/i]</e></I><br/>
Even zooming in and out up (or down) to its ...
that should be a Ubuntu issue. I'm using Windows XP SP3, SH3D Version 3.2 Beta 4, Java version 1.7.0-ea, and everything works fine.<br/>
<I><s>[i]</s>There is a small bug in the grid: it doesn't show subdivisions<e>[/i]</e></I><br/>
Even zooming in and out up (or down) to its ...
- Mon Apr 18, 2011 6:33 pm
- Forum: Developers
- Topic: Plugin - Creating Objects with other Properties
- Replies: 25
- Views: 23790
Re: Plugin - Creating Objects with other Properties
<r><I><s>[i]</s>how can I control it without changing the SH3D code?<e>[/i]</e></I><br/>
you can add a listener to your Home object[1], then create your custom PieceOfFurniture, delete the original, and add yours (remember either remove your listener before adding your object, or check before if it ...
you can add a listener to your Home object[1], then create your custom PieceOfFurniture, delete the original, and add yours (remember either remove your listener before adding your object, or check before if it ...
- Thu Apr 07, 2011 12:48 pm
- Forum: Developers
- Topic: Add furniture progamatically !!!
- Replies: 7
- Views: 4738
Re: Add furniture progamatically !!!
<r>some useful URLs:<br/>
HomePieceOfFurniture constructor[1]<br/>
Adding a HomePieceOfFurniture to a Home[2], [3]<br/>
[1]<URL url="http://www.sweethome3d.com/javadoc/com/eteks/sweethome3d/model/HomePieceOfFurniture.html#HomePieceOfFurniture%28com.eteks.sweethome3d.model.PieceOfFurniture%29"><LINK ...
HomePieceOfFurniture constructor[1]<br/>
Adding a HomePieceOfFurniture to a Home[2], [3]<br/>
[1]<URL url="http://www.sweethome3d.com/javadoc/com/eteks/sweethome3d/model/HomePieceOfFurniture.html#HomePieceOfFurniture%28com.eteks.sweethome3d.model.PieceOfFurniture%29"><LINK ...
- Mon Apr 04, 2011 3:04 am
- Forum: Developers
- Topic: Add furniture progamatically !!!
- Replies: 7
- Views: 4738
Re: Add furniture progamatically !!!
<t>typing from memory:<br/>
Home myHome = new Home();<br/>
HomePieceofFurniture hpf = new HomePieceofFurniture(somePieceOfFurniture);<br/>
myHome.addFurniture(hpf);<br/>
<br/>
The point is, you need a instance of a class implementing PieceOfFurniture e.g. CatalogPieceOFFurniture, which you can get ...
Home myHome = new Home();<br/>
HomePieceofFurniture hpf = new HomePieceofFurniture(somePieceOfFurniture);<br/>
myHome.addFurniture(hpf);<br/>
<br/>
The point is, you need a instance of a class implementing PieceOfFurniture e.g. CatalogPieceOFFurniture, which you can get ...