Tree generator (64 posts)

Topic tags: tree generator
  • Profile picture of viridris viridris15p said 8 months, 1 week ago:

    I am creating a tree generator for the JMonkeyEngine. It is based on the arbaro tree generator.
    Project is still in development, but it is already possible to create textured static trees.
    Source code can be found at http://code.google.com/p/forest-generator/.
    Code is free to use, I only ask that my name is mentioned.

  • Profile picture of normen normen1290p said 8 months, 1 week ago:

    Looks nice, but why didn’t you make it a plugin for the SDK right away?

  • Profile picture of viridris viridris15p said 8 months, 1 week ago:

    There are 2 steps in using trees.
    The first step is creating the tree: choose variable values and choose textures.
    The second step is using this tree in another project. (the plugin you suggested)
    I am still working at the first step.

  • Profile picture of normen normen1290p said 8 months, 1 week ago:

    Yeah sure but you seem to create a swing app from that already. The NetBeans platform has many helper classes for example to create a property editor like the one on the right of your screen etc. so if you start it as a plugin right away you probably save some time adding some features and in exchange need just some additional time to learn about the NetBeans API functions you want to use.
    Anyway nag me when you need help moving tis to the SDK.

  • Profile picture of glaucomardano glaucomardano252p said 8 months, 1 week ago:

    Yeah, I would like to see your tree generator integrated in jmp as plugin. It’s not difficult to do ;) .

  • Profile picture of mifth mifth132p said 8 months, 1 week ago:

    Nice project! it would be cool to make trees with LODs.

    Do you know about ngPlant? Possibly that project will be helpful. It has ngShot utility, to make a render of a tree and it will be only one plane with a texture and an alpha channel.

    http://ngplant.sourceforge.net/

    I wish you good luck!

  • Profile picture of mifth mifth132p said 8 months, 1 week ago:

    About LODs i meant that a tree could be 12000 tris but according to distance to camera the tree could be 5000, 1000, 200, 2(a plane, rendered like in the ngShot utility) tris.

  • Profile picture of makeshift makeshift28p said 8 months, 1 week ago:

    Looks good :) I noticed Arbaro is gnu licensed, but this still lets you make models and distribute those with your non-gnu software, I guess. Would making it a jmp plugin require jmp to be gnu as well? Arghh…, licenses gives me headache.

  • Profile picture of erlend_sh erlend_sh132p said 8 months, 1 week ago:

    makeshift said:
    (…) Would making it a jmp plugin require jmp to be gnu as well? Arghh…, licenses gives me headache.

    No, since we wouldn’t be bundling it with jMP but rather provide the option to install it as a third party plugin, there shouldn’t be any licensing issues.

  • Profile picture of makeshift makeshift28p said 8 months, 1 week ago:

    Great that’s what I thought and hoped :)

  • Profile picture of viridris viridris15p said 8 months ago:

    I’m converting the project to an plugin. It is my first plugin so progress is rather slow.
    As mentioned before arbaro is gnu licensed. What steps should I take to not violate this licence?

    Next steps in project are:
    Making working plugin to create basic trees
    Making crossection of trees (very basic LOD)
    Adding tree definitions (Searching/creating texture tiles)
    Add more LOD support.

    I hope to finish the basic plugin by the end of september.

  • Profile picture of glaucomardano glaucomardano252p said 8 months ago:

    good luck ;) .

  • Profile picture of viridris viridris15p said 7 months, 3 weeks ago:

    First version of plugin can be found on http://code.google.com/p/forest-generator/
    See downloads for the nbm file.
    See wiki for instructions. (better documentation will follow)

  • Profile picture of glaucomardano glaucomardano252p said 7 months, 3 weeks ago:

    Wow! You are fast man xD . Good work ! I’m going to try it tonight :) .

  • Profile picture of normen normen1290p said 7 months, 3 weeks ago:

    Awesome! Why not directly develop inside the jmp-contributions repo? This would build and put the updates directly into the update center when you commit, I can give you access to the gc project, just mail me your gc email address.

    Edit: The plugin doesn’t work with the nightly version as it uses SimpleTextured.j3md:

    http://i.imgur.com/NmZRr.png

    Edit2: It would be cool if the generator was a generic wizard, you can create a wizard easily using a template (File->New File..) and then just plant your swing code into that. It also has a handy object to store your data in to separate configuration and actual creation.