Sample file for grass and flowers #82365

Closed
opened 2020-11-03 16:12:38 +01:00 by Dalai Felinto · 17 comments

This sample file will be used to show scattering beyond the pebble use case.

The idea is to be able to scatter different types of flowers and grass (and pebbles)

This sample file will be used to show scattering beyond the pebble use case. The idea is to be able to scatter different types of flowers and grass (and pebbles)
Simon Thommes was assigned by Dalai Felinto 2020-11-03 16:12:38 +01:00
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Author
Owner

Nodes that are planned to be used (besides the one by the pebble file):
image.png

Nodes that are planned to be used (besides the one by the pebble file): ![image.png](https://archive.blender.org/developer/F9181981/image.png)
Member

image.png

flower_scattering_example_file.blend

File

The file contains both a scene using the old particle system and other methods as a goal to recreate with the new (yet to be implemented) features and a scene prepared to be adapted using the new features of the geometry nodes branch.
(By design the new scene uses features that are not yet implemented, so it is incomplete by the time of initial setup and to be updated throughout the progress of development.)

The file uses multiple layers of instancingfor the creation of the trees.
image.png

And modularly built flower assets to be scattered as instances of collections (formerly not possible).
image.png
[flower and grass assets taken from the production repository of 'Sprite Fright', made by Andy Goralczyk]

Needed features as planned by the design for this file:

  • Texture sampling to an attribute from a texture using the UV coordinates inherited by the pointcloud
  • instancing on a pointcloud randomly from a collection of objects (objects can be instances)
  • manual editing of location, rotation and scale of points of a pointcloud
  • applying/baking a point cloud after scattering using the nodes modifier
![image.png](https://archive.blender.org/developer/F9380229/image.png) [flower_scattering_example_file.blend](https://archive.blender.org/developer/F9380194/flower_scattering_example_file.blend) **File** The file contains both a scene using the old particle system and other methods as a goal to recreate with the new (yet to be implemented) features and a scene prepared to be adapted using the new features of the geometry nodes branch. (By design the new scene uses features that are not yet implemented, so it is incomplete by the time of initial setup and to be updated throughout the progress of development.) The file uses multiple layers of instancingfor the creation of the trees. ![image.png](https://archive.blender.org/developer/F9380334/image.png) And modularly built flower assets to be scattered as instances of collections (formerly not possible). ![image.png](https://archive.blender.org/developer/F9380339/image.png) [flower and grass assets taken from the production repository of 'Sprite Fright', made by Andy Goralczyk] **Needed features as planned by the design for this file:** - Texture sampling to an attribute from a texture using the UV coordinates inherited by the pointcloud - instancing on a pointcloud randomly from a collection of objects (objects can be instances) - manual editing of location, rotation and scale of points of a pointcloud - applying/baking a point cloud after scattering using the nodes modifier
Member

Adjustment notes after design discussion:

Will adapt this scene slightly to make more use of splitting pointclouds into subsets (point separation based on image texture, more flower types to be scattered without intersection)
The manual pointcloud manipulation will be split of from this usecase (instancing of leaves and branches)

Adjustment notes after design discussion: Will adapt this scene slightly to make more use of splitting pointclouds into subsets (point separation based on image texture, more flower types to be scattered without intersection) The manual pointcloud manipulation will be split of from this usecase (instancing of leaves and branches)

Added subscriber: @YeyAnotherNiceName

Added subscriber: @YeyAnotherNiceName

Added subscriber: @satishgoda1

Added subscriber: @satishgoda1
Simon Thommes changed title from Sample file for trees and flowers to Sample file for grass and flowers 2020-12-11 19:29:19 +01:00
Member

flower_scattering_example_file.blend

image.png

  • The file is still work in progress, as I don't have the nodes to implement the new version yet.
  • But I updated the file with another flower type to mix between them with point separation as outlined by the use-case design.
  • As the tree use-case is split off from this, I removed their setup for the use-case. I kept the manually created trees in there as decoration, but if they are just source for confusion, I can remove them completely.
    • (Larger scale tree distribution can also well be covered with this example, what is still an issue that we don't address within this use-case is the intersection between different scattering systems)
  • I outlined the plan for scattering the flower types in the documentation within the file for when the nodes are ready. Faking this kind of setup with the old particle system proved quite challenging, so I left it at a halfway point,as it is by far not as important as the example using geometry nodes.
[flower_scattering_example_file.blend](https://archive.blender.org/developer/F9503139/flower_scattering_example_file.blend) ![image.png](https://archive.blender.org/developer/F9503167/image.png) - The file is still work in progress, as I don't have the nodes to implement the new version yet. - But I updated the file with another flower type to mix between them with point separation as outlined by the use-case design. - As the tree use-case is split off from this, I removed their setup for the use-case. I kept the manually created trees in there as decoration, but if they are just source for confusion, I can remove them completely. - (Larger scale tree distribution can also well be covered with this example, what is still an issue that we don't address within this use-case is the intersection between different scattering systems) - I outlined the plan for scattering the flower types in the documentation within the file for when the nodes are ready. Faking this kind of setup with the old particle system proved quite challenging, so I left it at a halfway point,as it is by far not as important as the example using geometry nodes.
Member

I updated the file for the sprint demo.

flower_scattering_example_file.blend

image.png

I updated the file for the sprint demo. [flower_scattering_example_file.blend](https://archive.blender.org/developer/F9592370/flower_scattering_example_file.blend) ![image.png](https://archive.blender.org/developer/F9592362/image.png)

Added subscriber: @DimitriBastos

Added subscriber: @DimitriBastos

In #82365#1098667, @SimonThommes wrote:
I updated the file for the sprint demo.

flower_scattering_example_file.blend

image.png

Thanks for the file. Don't know if this is the right place to ask, but I would like to ask you about angles and rotation. Is angle a default attribute or is something you've created for the scattering itself?

> In #82365#1098667, @SimonThommes wrote: > I updated the file for the sprint demo. > > [flower_scattering_example_file.blend](https://archive.blender.org/developer/F9592370/flower_scattering_example_file.blend) > > ![image.png](https://archive.blender.org/developer/F9592362/image.png) Thanks for the file. Don't know if this is the right place to ask, but I would like to ask you about angles and rotation. Is angle a default attribute or is something you've created for the scattering itself?
Member

@DimitriBastos

angle is specifically created to be used to control the rotate points node. The attribute that is used for the orientation of points in the point instancing node is rotation

@DimitriBastos `angle` is specifically created to be used to control the rotate points node. The attribute that is used for the orientation of points in the point instancing node is `rotation`

In #82365#1098845, @SimonThommes wrote:
@DimitriBastos

angle is specifically created to be used to control the rotate points node. The attribute that is used for the orientation of points in the point instancing node is rotation

Thanks!

> In #82365#1098845, @SimonThommes wrote: > @DimitriBastos > > `angle` is specifically created to be used to control the rotate points node. The attribute that is used for the orientation of points in the point instancing node is `rotation` Thanks!
Author
Owner

Hi Simon, the file looks great.

Could you just prepare the README file and the file so it is ready for people to "play with it"? This way I can move the file to download and close this task.

If you think the thumbnail should be anything other than the rendering let me know (or better, just add the thumbnail to use here. We need it with aspect ratio: 480x270.

Hi Simon, the file looks great. Could you just prepare the README file and the file so it is ready for people to "play with it"? This way I can move the file to download and close this task. If you think the thumbnail should be anything other than the rendering let me know (or better, just add the thumbnail to use here. We need it with aspect ratio: 480x270.
Member

I polished the file in terms of demoing and wrote a readme:
flower_scattering_example_file.blend

Here is a screenshot of the file open
image.png
And here a rendering
image.png

I polished the file in terms of demoing and wrote a readme: [flower_scattering_example_file.blend](https://archive.blender.org/developer/F9604102/flower_scattering_example_file.blend) Here is a screenshot of the file open ![image.png](https://archive.blender.org/developer/F9604092/image.png) And here a rendering ![image.png](https://archive.blender.org/developer/F9604095/image.png)
Author
Owner

Thank you! Added to the main page with a link to the direct download link (to be enabled for 2.93):
https://developer.blender.org/project/manage/121/

Thank you! Added to the main page with a link to the direct download link (to be enabled for 2.93): https://developer.blender.org/project/manage/121/
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#82365
No description provided.