By JDHill
#344726
Maxwell for Rhino
Version 2.5.13 Release Notes

This build brings Maxwell Fire to the Rhino viewport.

Changes:
  • Maxwell Fire rendering may now be viewed directly in the viewport.
  • Objects with no texture coordinates are no longer excluded from export.
  • Right-clicking the Maxwell Fire button both opens the window and starts rendering.
Fixes:
  • A crash could occur in Maxwell Fire when changing environment type.
  • Maxwell_ExtractMaterials could fault in certain circumstances.
  • Paths containing filename-like directory names could be parsed incorrectly.
  • Objects with multiple sets of texture coordinates could be exported with only one.
  • Displacement and Global bump were not reset when linking to an MXM file.
Download (please do not share these links)
  • (version superseded)
By JDHill
#344811
Okay, I think it works fine in Rhino 4, but not Rhino 5. Is that correct? Could you post the errors you find printed in the plugin Log Viewer window?
By JDHill
#344812
Here are steps to try:

1. open Rhino V5
2. make a T-Splines cylinder
3. move a face of the cylinder
4. run ExtractRenderMesh on the cylinder
5. run SelBadObjects

The extracted mesh should be selected. There is nothing the Maxwell plugin can do about this, it is a problem with T-Splines or Rhino.
By l1407
#344813
I find a new event,

1. open Rhino V5
2. make a T-Splines cylinder
3. move a face of the cylinder
4. move the object

the maxwell fire will be read the object. why?
By JDHill
#344814
I have no way of knowing the core reason, but I can tell you what happens internally when you move an object (call it Object A):

- Rhino makes Object B, which is a copy of Object A
- Object B's geometry is modified to place it where you are 'moving' Object A
- Object A is removed from the document, and stored in memory in an undo list

So you see, after 'moving' Object A, it is not Object A anymore -- it is really Object B. That explains why moving can fix the problem. This seems similar to the issue which was fixed a couple of weeks ago, where Rhino was being too strict with mesh data.

That is why I ask you to provide your Log Viewer printout; once I know enough about the issue, and can confirm that what you are seeing is the same as what I am seeing, then I can ask the McNeel developers to check it out.
By l1407
#344816
JDHill wrote:I have no way of knowing the core reason, but I can tell you what happens internally when you move an object (call it Object A):

- Rhino makes Object B, which is a copy of Object A
- Object B's geometry is modified to place it where you are 'moving' Object A
- Object A is removed from the document, and stored in memory in an undo list

So you see, after 'moving' Object A, it is not Object A anymore -- it is really Object B. That explains why moving can fix the problem. This seems similar to the issue which was fixed a couple of weeks ago, where Rhino was being too strict with mesh data.

That is why I ask you to provide your Log Viewer printout; once I know enough about the issue, and can confirm that what you are seeing is the same as what I am seeing, then I can ask the McNeel developers to check it out.
thank you very much, copying object is really ok :mrgreen:
By JDHill
#344817
where can I get the log info for submission?
1. create a T-Splines object and modify it so that will not render
2. open main menu > Maxwell > Plugin Windows > Log Viewer
3. export an MXS, or render in Fire; you will find errors printed in the log
By l1407
#344819
* line 13: OnLoadPlugIn, starting plugin update status thread
* line 14: OnLoadPlugIn, Enabling Scene events
* line 15: OnLoadPlugIn, Synchronizing cameras
* line 16: SynchronizeCamera, created camera: Perspective
* line 17: ShowWindow, sz=393x319h, loc=978,519(virtual), pWnd=66902
* line 18: OnLoadPlugIn, Plugin-load finished successfully
* line 19: ShowWindow, sz=700x320h, loc=400,400(virtual), pWnd=66902
* line 20: CheckForUpdate, checking for plugin updates...
* line 21: Run, the installed plugin version (2.5.13.0) is up-to-date.
* line 22: ShowWindow, sz=393x319h, loc=978,519(virtual), pWnd=66902
* line 23: Render, rendering camera: Perspective
* line 24: Render, generating new MXS meshes, press CTRL+ALT+SHIFT to cancel
* line 25: ExportGeometry, Exporting meshes...
* line 26: ExportStatus, mesh transfer 100.00% completed (1 of 1)
* line 27: listing errors - invalid objects:
* line 28: brep_object, id=1714ca09-3f33-45c0-86df-fcc988cb430d, error={ON_Mesh.m_N[1968] is not a unit vector (length = 0.169056).}
* line 29: errors were detected in meshable geometry - IDs have been listed in the log viewer. objects
* line 30: which generated the errors are now selected in the viewport (note: you may see nothing - it
* line 31: may not be possible to display some of them). if they later become unselected, and you wish
* line 32: to find them again, please try one of the following methods:
* line 33: - use the command: 'SelBadObjects'
* line 34: - use the command: 'Maxwell_CheckFixAndReportBadGeometry'
* line 35: - highlight the object's ID in the log viewer, right-click and choose 'Select Object'
* line 36: Render, total export time: 00:00:00.4760273

thank you very much!
By JDHill
#344836
brep_object, id=1714ca09-3f33-45c0-86df-fcc988cb430d, error={ON_Mesh.m_N[1968] is not a unit vector (length = 0.169056).}
Thank you, that is the same error I am seeing.
By calciati
#344906
Hi JD, thanks for this new version, Fire in viewport is awesome!!

I've found a bug regarding the Location & Time parameters, it seems every time you save a file, close Rhino then reopen the file,
day change to the next day, so if i set for example july 1, save and close for 4 times when i open the last saved i get july 4...
Help with swimming pool water

Hi Andreas " I would say the above "fake[…]

render engines and Maxwell

Other rendering engines are evolving day by day, m[…]