Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


wallworm last won the day on March 27 2018

wallworm had the most liked content!

Community Reputation

4 Neutral

About wallworm

  • Rank
    Advanced Member

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling
  1. Yeah, that's probably correct. I noticed it doesn't detect this class. I think it may be that they are scripted geometry objects. The meshes are actually generated with the SDK but then used in the buildmesh of the scripted class (this is more convenient for my needs as developing UI and scripted functions is so much easier/quick in MAXScript).
  2. Eduard, I see that in your screenshot above the normals do seem to follow the transforms. I will have to see what might be different in my scene.
  3. Eduard, Thank you so much for looking into this! I tested the new version and have a few items to suggest. I noticed that the function only works if the source geometry has an edit normals modifier. This is an OK assumption but there are certain geometry types that are always explicit normals and perhaps they should not require the modifier. One important to me is WallWormMDL geometry class ( class id of #(0x4e8b048c, 0x732e564d) ). Others that might also want to be automatically using this is Linked FBX geometry. There are probably others. This is just a convenience idea. I noticed that the normals always point toward the original direction of the source normals in the world. In other words, they do not change orientation with the geometry as the objects are transformed from the distributors or morphed by modifiers. This leads to unexpected lighting. This issue is very important to address. I think that the second item might be computationally expensive but it is certainly necessary to get the results desired.
  4. Brilliant! I want my hands on it the second it's ready!
  5. That's awesome Eduard. I wish I had discovered this in my tests over the last two years! Note, it would be ideal if work on this includes some of the options in post #2 above for standard leaves and leaves meshes. Being able to make game-friendly normals especially for the low poly standard leaves would be a godsend. I would even add a couple new options than in list above: Out From Mesh Center Out From Element Centers.
  6. Here is a snippet of code for setting the explicit normal of Mesh class mesh (I yanked this from one of my plugins, hopefully it makes sense even if out of context): // Normals mesh.SpecifyNormals(); MeshNormalSpec *normalSpec = mesh.GetSpecifiedNormals(); normalSpec->ClearNormals(); normalSpec->SetNumNormals(numVerticies); normalSpec->SetNumFaces(numFaces); //verts for (int vertID = 0; vertID < numVerticies; ++vertID) { //here you would set verts, uvs //now set normal normalSpec->Normal(vertID) = Point3( normal, normaly, normalz); normalSpec->SetNormalExplicit(vertID, true); } // Face indicies for (int i = 0, j = 0; i < numFaces; i++, j += 3) { //set face verts, mapping, smoothing //now assign MeshNormalFace &normalFace = normalSpec->Face(i); normalFace.SpecifyAll(true); //below n0,n1,n2 would be index of normals normalFace.SetNormalID(0, n0); normalFace.SetNormalID(1, n1); normalFace.SetNormalID(2, n2); } //near end before invalidating geom or top caches normalSpec->SetFlag(MESH_NORMAL_MODIFIER_SUPPORT);//Might be necessary to keep normals and edit them normalSpec->SetAllExplicit();
  7. I'm just posting to see if there is any progress on this front?
  8. wallworm

    Upgrade Policy And Multithreading

    While I'm a general fan of node-based editors in many situations, and I do look forward to it in the context of GrowFX, I personally appreciate that Eduard and team have been adding new features into the current version. Many new features have saved my ass in the last year as they have been specific tasks I needed to solve and Eduard added them. I 'm personally highly thankful that new features have continued to come along. I look forward to V2. But for me I'm thinking that the node system itself is a big enough feature, by itself, to warrant a new version. I think that GFX has one of the best track records of customer support of any company I've dealt with--and a large reason for that is quick responses of features to solve customer problems.
  9. wallworm

    Surface Distributor > Vertex Color / UV Options

    That's awesome. You're great!
  10. wallworm

    Surface Distributor > Vertex Color / UV Options

    Furthermore, since you might be using masks from other channels (instead of channel 0, you might use another channel like a UVW channel instead), there should be a Channel spinner that defaults to channel 0 (which is the vertex color channel). Changing to channel 10, for example, will use the uvw coordinates as colors. For example, you can use Vertex Paint Modifier to paint vertex colors into channel 10 (or any channel).
  11. wallworm

    Surface Distributor > Vertex Color / UV Options

    I meant to add: So the Surface distributor would need a new Dropdown under the Use Vertex Color checkbox with these options: RGB (default and legacy) Red Green Blue
  12. wallworm

    Surface Distributor > Vertex Color / UV Options

    Eduard, Attached is an example scene. This is a simple example of how the vertex colors might drive a system (in this case, the base blue channel of the vertex colors is displacing the landscape down for the river). The other colors are not used to displace in this example, so are added to the second vertex paint. If you select the object GFX_Ecosystem1 there are three paths: WaterPlants(blue) BankPlants(red) Grass(green) What I'd like is that the distributors allow you to use just that channel for distributing--so in this case the waterplants paths only appear where there are non-zero blue values in the vertex colors. Etc. Notice also if you hit Render you will see that the materials are also using these as masks. (Open slate to see that the texture masks are using R/G/B sub-channels). If the surface distributor could use sub-channels like the material is using, it would make it very easy to populate the plants along the environment easily. Even more valuable is this method used in conjunction with the DataChannel modifier added in 2017.1. In that case, the vertex colors can be driven by the landscape topology--meaning that automatically we can make some kinds of plants only appear on vertical surfaces and others only on flat, etc etc. Having the plants and materials update automatically and together is what I'm looking at accomplishing. Hopefully this makes sense. GFX_vertex_color_example.zip
  13. It would be nice if we could use arbitrary map channels for the Vertex Color. Also, it would be nice if we could use specific rgb/uvw channels. For example, if I want to distribute just from the Red channel of vertex color (or X value in map channel 10).
  14. wallworm

    Object Reaction Graphs

    This works great. Thank you Eduard.
  15. Sometimes it's easy to forget all the exceptions. You can see methods of Structs in Max with showproperties. showProperties polyops :/