9
I Use This!
Very Low Activity

News

Analyzed about 12 hours ago. based on code collected about 12 hours ago.
Posted over 15 years ago
by paranoidray (Posted Fri May 21, 2010 12:17 am)Hey all,I would like to be able to set a dynamic color on white stripes on a collada model but I don't know how.I have set specific faces of my model to a white texture, hoping they would blend with a ... [More] color...Playing around with SimpleColladaExample hasn't worked so far:Code: Select all        final ColladaStorage storage = new ColladaImporter().load("ship.dae");        final Node scene = storage.getScene();        final BlendState bs = new BlendState();        bs.setEnabled(true);        bs.setBlendEnabled(true);        bs.setConstantColor(ColorRGBA.RED);        scene.setRenderState(bs);        _root.attachChild(scene);This fails too:Code: Select all        final Node scene = storage.getScene();        final MaterialState ms = new MaterialState();        ms.setColorMaterial(ColorMaterial.Ambient);        ms.setAmbient(ColorRGBA.RED);        ms.setEnabled(true);        scene.setRenderState(ms);How is this done right ? [Less]
Posted over 15 years ago
by paranoidray (Posted Fri May 21, 2010 12:09 am)Hey all,I would like to be able to add color stripes on a collada model but I don't know how.Playing around with SimpleColladaExample hasn't worked so far:Code: Select allfinal ColladaStorage storage = ... [More] new ColladaImporter().load("collada/sony/Seymour.dae");        final Node scene = storage.getScene();        final BlendState bs = new BlendState();        bs.setEnabled(true);        bs.setBlendEnabled(true);        bs.setConstantColor(ColorRGBA.RED);        scene.setRenderState(bs);        _root.attachChild(scene); [Less]
Posted over 15 years ago
by paranoidray (Posted Thu May 20, 2010 11:56 pm)I vote to make this post sticky or be part of the future wiki
Posted over 15 years ago
by renanse (Posted Thu May 20, 2010 11:42 pm)Hopefully before that. :-/
Posted over 15 years ago
by paranoidray (Posted Thu May 20, 2010 11:12 pm)From what I can tell looking at the source code,ClonedCopyLogic serializes the Spatial info and reads it back into a new Object -So it's a complete copy.SharedCopyLogic on the other hand copies most ... [More] attributes but especially for Meshesit set the reference of the MeshData in the copy Mesh to the same object as inside the source Mesh.This saves at least much memory if you use the same Mesh a lot. ( As in my case )Maybe internally Ardor3D can even optimize performance in combination withDataMode.VBOInterleaved.Anyone knows ?I suggest you use SharedCopyLogic in all cases unless you run into trouble.Only then try ClonedCopyLogic. [Less]
Posted over 15 years ago
by cowwoc (Posted Thu May 20, 2010 9:35 pm)This might interest you: http://netbeans.dzone.com/nb-3d-game-dev
Posted over 15 years ago
by renanse (Posted Thu May 20, 2010 4:23 pm)The process is basically that you'd post the contribution on the forum as a patch file and the community gives comments, feedback, etc. If the contribution is more than a simple bugfix, we need to have a ... [More] CLA (one time thing) for you on file with the project. If all looks good, a dev will commit to trunk. [Less]
Posted over 15 years ago
by runiter (Posted Thu May 20, 2010 12:42 pm)Galun wrote:You could use the ScreenExporter (use for screenshots) and a custom ScreenShotImageExporter that opens a print dialog and prints the captured screen.When using ScreenExporter or calling ... [More] Renderer.grabScreenContents() I always get a thick strip of black line above the screenshot as shown here:Any ideas why? [Less]
Posted over 15 years ago
by Galun (Posted Wed May 19, 2010 6:35 pm)Do you know how I could test Collada models? There is Collada-DOM but only in C++ source code and I had no luck compiling that (VS 2008, Windows 7 64).I suspect some errors in the models and I would really like to check with some "official" viewer.
Posted over 15 years ago
by renanse (Posted Wed May 19, 2010 1:53 pm)Will add this to trunk shortly. Thanks for the suggestion!