Hi JP, I don't know much about light modeling. If you need more information on the topic you should ask on the discourse forum (where users with more knowledge might answer).
Helo Gaetan, Thank you very much for your answer, I will try to understand it with examples. Thank you very much for providing a community of communication, and I will actively participate in this community. Today I'm learning about lighting in the wiki ( https://wiki.grogra.de/doku.php?id=tutorials:basic-spectral-light-modeling ) in setting up the Phong shader, I can understand: Absorption = Total - Reflectance - Transmission. But I saw it in the tutorial: ChannelSPD RED_SPD = new ChannelSPD(new...
Hello JP, You might want to ask your questions on the forum ( https://fspm.discourse.group/ ) where more users will be available to help you. The rules: ==> and ==>> are indeed different. Both are rewriting rule, meaning they replace the matched pattern on the left hand side with the produced statement on the right hand side. To simplify: * The first one is a replacement following the L System idea. The edges in and out of the pattern to replace are linked to the produced subgraph. * The second one...
Hello,Gaetan Thank you very much for your answer, this has made me gain a lot! Recently I found two operators ( ==> ^ and ==>> ^ ) they seem to be a combination of two operators, I am curious what the function of these two operators is, looking forward to your answer! Thanks, JP
Hi, Gaetan Thank you very much for your professional answers! This was very helpful for me! Sorry for being late, when I went to the forums and checked to see if there was a new version of the software I found that I didn't reply to you to express my gratitude for your answer, I don't know what's wrong. Apologies again!
Hello,Gaetan Thank you very much for your help! The method you provided is really detailed! This has worked very well for me! I have learned how to solve my problem using the methods you provided Thanks, JP
Hi, For the "Reference": When you import an object in the "object explorer" (the object panel), you can create references to that object with "new Reference("name.file");". You can always use the "Add" option, it copy the file within your project. Then, by default the reference is only resolving an "instance" of the object (not the x3d nodes themselves). You can however get the nodes behind the reference by using: {Reference r = new Reference("name.file");} [A ==> r.resolveNode()] Be careful however,...
Hello,Gaetan I'm having trouble learning groimp again and would like to ask for your help again. I want to insert a. X3D files are duplicated multiple times in the scene and given them different names so that I can later make changes to each . X3D file is modified individually. I added the .X3D file via the Object button (there are 3 ways to insert the file: Add \ Link \ Embed), and then I was able to use it in RGG code by using a const Reference PSL = reference ("PSL"); statement, but then I couldn't...
Hello,Gaetan Thank you very much for your answer! I can use this plugin successfully now! Regarding the question that I didn't find the plugin Pointcould importer in the plugin manager, I was previously trying to find this plugin in the plugin manager in jEdit, where I didn't find it, and after I saw your reply, I first tried to add this plugin manually, but I wasn't successful. The reason was that after launching GroIMP the software threw a window and prompted me that the library jply.jar was not...
Hello, Could you give me more detail on what is working (and not) with the plugin manager? The Pointcould importer plugin should be accessible from there. Do you see any other plugins? Otherwise, if you download the plugin from gitlab. You need to see if it is already compiled or not. If you have java classes, it needs to be compiled. If you have a .jar you can use it. (download the jar there https://gitlab.com/grogra/groimp-plugins/Pointcloud-Importer/-/packages/24921990 at the bottom of the page.)...
Hi,Gaetan Do you know how I can add the Pointcloud-Importer plugin to GroIMP, I didn't find it in the plugin manager, I followed the link you provided and downloaded the plugin's zip, but I still don't know how to load it, even though I've looked at the wiki documentation for GroIMP. Thanks, JP
Hi,Gaetan Thank you very much for your answer! I can use the RGG code to locate the imported 3D structure and do something with it! This is amazing! Thank you for giving me a further understanding of GroIMP! Thanks, JP
Hi,Gaetan Thank you very much for your answer! I can use the RGG code to locate the imported 3D structure and do something with it! This is amazing! Thank you for giving me a further understanding of GroIMP! Thanks, JP
Hi, The objects imported from an OBJ file are added as one MeshNode in groimp. To map the objects in a file to groimp primitive objects you can either use a file format that support this mapping (e.g. x3d or gltf), or do the mapping manually (which i do not recommend). If you need to see each triangle of your mesh as a separate groimp node you can also use the ply importer from the PointCloud-Importer plugin (https://gitlab.com/grogra/groimp-plugins/Pointcloud-Importer). I don't know mush about the...
Hi,Gaetan Thank you for your response! I am a bit confused about importing a complex 3D structure from a GUI interface, such as an obj file with a triangular grid. It seems that this structure is not recognized as basic geometry in GroIMP, like Sphere. If I need to perform advanced operations on this 3D structure, such as setting BSDF and so on, how can I achieve this using XL queries or other methods? Even though I named the 3D structure through the GUI, I couldn't locate the object. Can you assist...
Hi, Advanced object manipulations can be done through XL queries. Usually done in an RGG environment. E.g. this query print the surface area of all Spheres in your graph: [x:Sphere::>println( x.getSurfaceArea());] . You can find more documentation on how to use them in the documentation: http://wiki.grogra.de
Home
Hi, I import an object into the scene through the GUI interface. If I would like to manipulate some properties of this object, such as obtaining the surface area of the object, setting the parameters of BSDF, etc., what should I do? Can someone help me? Thanks, JP
Hi, I would like to add a rainfall flux to my scene. I have modified the model provided by Junqui http://134.76.18.36/wordpress/unpublished/gallery/grapevinexl-model/ for daily course solar radiation by including a photovolatic system over the scene. The model includes the simulation of daily direct and diffuse solar radiation. Aiming at simulating rainfall rate inteception by the objects in the scene, photovoltaic panels and ground, the first idea was to set a light node over the scene that is feeded,...
Installing GroIMP
Home
Home
Setup GPUFlux for Eclipse
Hi, Can anybody here, please explain me how to use GroIMP to simulate future Landscape? Anyway to get an idea? Thanks, Shameen
added 3D export options
Setup GPUFlux for Eclipse
Setup GPUFlux for Eclipse
GPU flux radiation model does not work with Grid clone
hi, to follow up on this: "There is no need to set the surface size of the light node. As far as i understand, the size of the light node adjust itself based on the size of the scene." that's only the case for DirectionalLight lights, they adapt to the size of the 3D scene automatically. That's why you use/set a power density instead of a power value here. all other light types (point, spot, area light) do not adapt to the size of the scene. cheers, michael
Hi Junqi, Great to see your interest in this and checking the code carefully. From diffuse light module I see that the light is shared according to coefficients that depend on the position of each node. E.g. 12 light nodes of the bottom layer emit diffuse radiation weighed by (0.003218/0.205) while at the top of the hemisphere the weight is (0.007096/0.998).Could you please explain what is the meaning of these coefficients? The first coefficient (e.g., 0.003218 ) represent the weight of the amount...
Hi Junqi, great paper and great code. Thanks I still have two questions about the diffuse radiation module. I see from figure S3 in SI of your paper and the corresponding code in environment.rgg that you share the diffuse radiation between 72 light nodes arranged in a hemisphere. From diffuse light module I see that the light is shared according to coefficients that depend on the position of each node. E.g. 12 light nodes of the bottom layer emit diffuse radiation weighed by (0.003218/0.205) while...
added preferences for 3D Export of STL, PLY, and OBJ export
added a function to simulate a "single point" scanner
changed resolution back to 20 intersections
quick and dirty fix to prevent saving triangles with Area==0
updated copyright year
set correct date
fixed javac error "unmappable character for encoding ascii"
added getCameraByName function
fixed issue with mesh exports
added missing "new line" in export function to write each row in an new/separate line
added boundingBoxCoordinates function
Hi Marco, I have a model for simulating the daily course of the sun based on the exercise book of Jan Goudriaan. It was included in the grapevine model and the whole source code is available at the GroIMP gallery. See http://134.76.18.36/wordpress/unpublished/gallery/grapevinexl-model/ Cheers Junqi On Wed, 5 Jan 2022 at 22:18, marco moriondo morio1968@users.sourceforge.net wrote: Hi, I wonder if someone already developed a model for simulating the daily course of the sun based on latitude and day...
Hi, I wonder if someone already developed a model for simulating the daily course of the sun based on latitude and day of the year. This should be included in a simulation model of olive tree. By the way, if someone wants join to this challenge, is welcome! Cheers Marco
MeshNode problem with scanned objIDs -> ID == -1
added functions to track all objects that got hit by a ray
added scanHemisphere function
Hi, I would like to run my project from the cmd as I would like to run multiple simulations with different parameters. I understand that it is done somehow with de.grogra.xl.compiler.Main and javac, but I'm not sure how I should change the code, and what file I should add in the cmd. Could you give more details please? Thanks! Cheers, Lili
fixed problem with Mesh exports
undo test
quick test to fix compile problem
updated ASM lib to version 9.2 (to support Java 17)
added function 'showSpheres(boolean)' to visualise the origin of rays (as spheres)
Hi Micha, thanks very much for the detail explanation. I will have a try of the xl file. Cheers junqi On Sun, 3 Oct 2021 at 06:03, micha mh1@users.sourceforge.net wrote: hi junqi, each interface and class belongs to a single file of the same name as the interface or class. and the file extension should be ".xl" instead of ".rgg". have a look at the "FSPM model" within the groimp own example gallery to see how to deal with interface, classes and pure -xl files. cheers, micha Sent from sourceforge.net...
hi junqi, each interface and class belongs to a single file of the same name as the interface or class. and the file extension should be ".xl" instead of ".rgg". have a look at the "FSPM model" within the groimp own example gallery to see how to deal with interface, classes and pure -xl files. cheers, micha
similar for the summer school and workshop links. here are alternative links for them: http://www.uni-forst.gwdg.de/~wkurth/workshop15_an3.htm http://www.uni-forst.gwdg.de/~wkurth/summerschool13.htm http://www.uni-forst.gwdg.de/~wkurth/workshop12_pgm.htm http://www.uni-forst.gwdg.de/~wkurth/summerschool10.htm
hi junqi, thanks for the note! you are right, the links are broken. they got lost during sourceforge moved/updated to a new version. we are currently, looking to get them restored.
Can interface be used in GroIMP?
The link for the "for modeller" session is broken. I think the information for this session is very useful. it would be very nice if some one can fix the links. best regards. junqi
initial submit
add readme
updated order of vertices in face lists
added Wavefront OBJ export
added basic Wavefront OBJ export (just structure, without textures)
updated javadoc
added licence note
added licence note
updated release data
fixed compile problem
added missing dependencies
hi junqi, thanks for spotting this. i checked the code and found the problem but still discussing in which way to solve it. will let you know when we decided. cheers, micha
added JOGL view mode switch (GLJPanel vs GLCanvas) ... to fix display problems (bug reports) with GLJPanel
added GUI property field gl/lighting.Name
added missing icons to the release version
initial import
updated version infos
fixed plugin infos
updated the "current year" in copyright statement on the splash screen
Video generator is not working
added a note when 32-bit java version is used
test to fix "Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Error creating offscreen bitmap of width 736, height 282"
fixed x3d export problem (attribute not found)
Hi, I am hoping to add continuous integration to my repository. I want to add the build to my pipeline but I am not sure how to go about generating the build file and building the project without using the GroIMP IDE. Any help would be appreciated! I am also trying to add testing with JUnit to my project. Is there a way to run my tests either within the IDE or otherwise? It would be great to hear from anyone who has done something similar. Best, Ella