3DS MAX – Micro Reference Manual – Cloth – Curtain Simulation

3DS MAX – Micro Reference Manual – Cloth – Curtain Simulation

CREATE GEOMETRY

1. RIGHT COLUMN> Create> Geometry> Standard Primitives> Plane (the Courtain)
2. RIGHT COLUMN> Modify> Plane> Parameters> Length Segs: 50 / Width Segs: 50 (we need a lot of subdivision)
3. Create a Box in viewport (the Courtaib Rod), and put it in the top of the Plane

CREATE CLOTH

4. Select the Courtain, RIGHT COLUMN> Modify> Modifier List> Cloth

CONSTRAIN CLOTH

(vincolare il tessuto)

5. RIGHT COLUMN> Modify> Cloth> Group> in the viewport select the top vertex of the Plane
6. RIGHT COLUMN> Modify> Cloth> Group> ‘Make Group’, in the bottom list the ‘Group001 (unassigned)’ has been created.
7. RIGHT COLUMN> Modify> Cloth> Group> ‘Node’> Pick the Courtain Rod in the viewport

ANIMATE THE COURTAIN ROD

8. You can move over the timeline the Courtain Rod and create some keyframes.

COURTAIN CLOTH SIMULATION

8. RIGHT COLUMN> Modify> Cloth> Cloth> Object> ‘Object Properties’> check ‘Cloth’
9. RIGHT COLUMN> Modify> Cloth> Cloth> Object> ‘Object Properties’> Cloth Properties> Presets> Cotton
10. RIGHT COLUMN> Modify> Cloth> Cloth> Object> Simulation> Simulate

ERASE SIMULATION

11. RIGHT COLUMN> Modify> Cloth> Cloth> Object> Simulation> ‘Erase Simulation’

OBJECT COLLISION

12. Create a Sphere in viewport (the Ball), and create keyframes to collide the Courtain in the animation.
13. Select the Courtain, RIGHT COLUMN> Modify> Cloth> Cloth> Object> ‘Object Properties’> Objects in Simulation ‘Add Objects’> pick the Ball, in the bottom of the current window check ‘Collision Object’> ‘OK’ button

FORCE FIELDS

1. RIGHT COLUMN> Create> Space Warps> Wind, DRAG in the viewport to create a wind space warp
2. RIGHT COLUMN> Modify> Cloth> Group> in the viewport select the bottom vertex of the Plane
3. RIGHT COLUMN> Modify> Cloth> Group> ‘Make Group’, in the bottom list the ‘Group002 (unassigned)’ has been created.
4. RIGHT COLUMN> Modify> Cloth> Group> ‘Forcefield’> Pick the Wind space warp
5. RIGHT COLUMN> Modify> Cloth> Cloth> Object> Simulation> Simulate

RENDERING

MAIN TOOLBAR> Material Editor> Select a Slot> Shader Basic Parameters> check ‘2-Sided’> Assign a material to Courtain
Usually, for Cloth you need a 2 sided material.

By |3D Graphic|Commenti disabilitati su 3DS MAX – Micro Reference Manual – Cloth – Curtain Simulation

3DS MAX – Micro Reference Manual – Rendering – Force Wireframe

3DS MAX – Micro Reference Manual – Rendering – Force Wireframe

SCANLINE RENDER ENGINE

1. Main Top Menu>Rendering>Render Setup> Common> Assign Renderer> Production> Default scanline Renderer
2. Main Top Menu>Rendering>Render Setup> Renderer> Default Scanline Renderer> check Force Wireframe
3. Main Top Menu>Rendering>Render Setup> Renderer> Default Scanline Renderer> Wire Thuckness: wireframe size (pixel)

VIEWPORT REALTIME 3D ENGINE

1. Create movie: Tools> Views-Grab Viewport> Create Animated Sequenced File…
2. Review the movie: Tools> Views-Grab Viewport> View Animated Sequenced File…
3. Save the movie: Tools> Views-Grab Viewport> Rename Animated Sequenced File…

LATTICE MODIFIER

The Lattice modifier converts the segments or edges of a shape or object into cylindrical struts with optional joint polyhedra at the vertices.
Use this either to create renderable structural geometry based on the mesh topology, or as an alternate method to achieve a rendered wireframe effect.

1. Create an object
2. Select the object, RIGHT COLUMN> Modify> Modifier List> OBJECT-SPACE MODIFIERS> Lattice

MATERIAL EDITOR

1. Material Editor> Modes (top menu)> Compact Material Editor> Shader Basic Parameters> check Wire
2. DRAG and DROP the material slot over the object in the viewport

By |3D Graphic|Commenti disabilitati su 3DS MAX – Micro Reference Manual – Rendering – Force Wireframe

Luce Digitale/JQ Sunny Rich Text Editor – Basic

Luce Digitale/JQ Sunny Rich Text Editor – Basic

DEMO

 

Rich-text editor is web component that allow users to edit and enter text within a web browser.
Rich-text editor is web-based, WYSIWYG (“what you see is what you get”) editor.
With this tool in your website, your clients can add rich text content without programming knowledge.
This tool I coded is free.
If you use it in your website, I will you be glad if you will add a returning link to http://blog.lucedigitale.com
Thanks in advance :)

<!DOCTYPE html>
<html>
<!-- Luce Digitale/JQ Sunny Rich Text Editor                                                 -->
<!-- Author: Andrea Tonin - http://blog.lucedigitale.com                                     -->
<!-- This code come with absolutely no warranty                                              -->
<!-- If you use this code in your project please give a link to http://blog.lucedigitale.com -->
<!-- Thanks in advance                                                                       -->
<head>

<style>
/* Input Box Style */
#sunnyrte {
width:100%;
height:200px;
border: 1px solid #c0c0c0;
}
/* Menu Style */
#sunnyrtemenu {
width:100%;
height:60px;
border: 1px solid #c0c0c0;
background-color:#efefef;
}
/* Menu Buttons Style */
.options {
 cursor:pointer;
 color: #000000;Verdana, Arial, Helvetica, sans-serif;
 font-size:16px;
 margin-left:3px;
 margin-right:3px;
}
a {
 text-decoration:none; /* Remove default underline for links */
}
</style>

<script type="text/javascript" src="js/jquery-2.0.3.js"></script> 
<script type="text/javascript">
$(function(){
 $('#sunnyrte').focus();
 // Complete rte editing Mozilla list at: https://developer.mozilla.org/en-US/docs/Rich-Text_Editing_in_Mozilla
 //                   Statement: object.execCommand(commandIdentifier, userInterface, value);
 // Click #delete ->                    execute command delete ->                 only on focus text of #sunnyrte
 $('#delete').click(function(){document.execCommand('delete', false, null);$('#sunnyrte').focus();return false;});
 // Removes all formatting from the current selection
 $('#removeformat').click(function(){document.execCommand('removeFormat', false, null);$('#sunnyrte').focus();return false;});
 // Undo
 $('#undo').click(function(){document.execCommand('undo', false, null);$('#sunnyrte').focus();return false;});
 // Redo
 $('#redo').click(function(){document.execCommand('redo', false, null);$('#sunnyrte').focus();return false;});
 // Bold
 $('#bold').click(function(){document.execCommand('bold', false, null);$('#sunnyrte').focus();return false;});
 // Italic
 $('#italic').click(function(){document.execCommand('italic', false, null);$('#sunnyrte').focus();return false;});
 // Underline
 $('#underline').click(function(){document.execCommand('underline', false, null);$('#sunnyrte').focus();return false;});
 // Strike
 $('#strike').click(function(){document.execCommand('strikeThrough', false, null);$('#sunnyrte').focus();return false;});
 // Color RED
 $('#red').click(function(){document.execCommand('foreColor', false, "#ff0000");$('#sunnyrte').focus();return false;});
 // Decrease Font Size - decreaseFontSize does not work in Chrome
 $('#decreasefont').click(function(){document.execCommand('decreaseFontSize', false, null);$('#sunnyrte').focus();return false;});
 // Increase Font Size - increaseFontSize does not work in Chrome
 $('#increasefont').click(function(){document.execCommand('increaseFontSize', false, null);$('#sunnyrte').focus();return false;});
 // Font size
 $('#fontsize').click(function(){document.execCommand('fontSize', false, "5");$('#sunnyrte').focus();return false;});
 // Font name
 $('#fontname').click(function(){document.execCommand('fontName', false, "Verdana");$('#sunnyrte').focus();return false;});
 // Subscript
 $('#subscript').click(function(){document.execCommand('subscript', false, null);$('#sunnyrte').focus();return false;});
 // Superscript
 $('#superscript').click(function(){document.execCommand('superscript', false, null);$('#sunnyrte').focus();return false;});
 // Hilite
 $('#hilitecolor').click(function(){document.execCommand('hiliteColor', false, "#ffff00");$('#sunnyrte').focus();return false;});
  // Justify Full
 $('#justifyfull').click(function(){document.execCommand('justifyFull', false, null);$('#sunnyrte').focus();return false;});
  // Justify Left
 $('#justifyleft').click(function(){document.execCommand('justifyLeft', false, null);$('#sunnyrte').focus();return false;});
  // Justify Right
 $('#justifyright').click(function(){document.execCommand('justifyRight', false, null);$('#sunnyrte').focus();return false;});
 // Indent
 $('#indent').click(function(){document.execCommand('indent', false, null);$('#sunnyrte').focus();return false;});
  // Outdent
 $('#outdent').click(function(){document.execCommand('outdent', false, null);$('#sunnyrte').focus();return false;});
  // Insert paragraph
 $('#paragraph').click(function(){document.execCommand('insertParagraph', false, null);$('#sunnyrte').focus();return false;});
 // Ordered List
 $('#orderedlist').click(function(){document.execCommand('insertOrderedList', false, null);$('#sunnyrte').focus();return false;});
 // Unordered List
 $('#unorderedlist').click(function(){document.execCommand('insertUnorderedList', false, null);$('#sunnyrte').focus();return false;});
 // Horizontal Role
 $('#inserthorizontalrule').click(function(){document.execCommand('insertHorizontalRule', false, null);$('#sunnyrte').focus();return false;});
 // Inser plain Text
 $('#inserttext').click(function(){document.execCommand('insertText', false, "This is a plain text");$('#sunnyrte').focus();return false;});
 // Insert HTML - insertHTML does not work on Internet Explorer
 $('#inserthtml').click(function(){document.execCommand('insertHTML', false, "<strong>This is a HTML Statement</strong>");$('#sunnyrte').focus();return false;});
 // Insert Table - insertHTML does not work on Internet Explorer
 $('#inserttable').click(function(){document.execCommand('insertHTML', false, "<table><tr><td>cell</td><td>cell</td></tr><tr><td>cell</td><td>cell</td></tr></table>");$('#sunnyrte').focus();return false;});
 // Insert Image - insertImage does not work on Internet Explorer
 $('#insertimage').click(function(){document.execCommand('insertImage', false, "http://www.lucedigitale.com/principale/images/logo.png");$('#sunnyrte').focus();return false;});
 // Insert Link
 $('#createlink').click(function(){document.execCommand('createLink', false, "http://www.lucedigitale.com/principale/images/logo.png");$('#sunnyrte').focus();return false;});
 // Unink
 $('#unlink').click(function(){document.execCommand('unlink', false, null);$('#sunnyrte').focus();return false;});
 // Show html tags
 $('#showhtml').click(function(){alert($("#sunnyrte").html());});
 });
</script>
 
</head>
<body>
 <div id="sunnyrtemenu">
 
  <!-- Every option need a id -->
  <a id="delete" href="#" class="options">|Delete|</a>
  <a id="removeformat" href="#" class="options">|Remove Format|</a>
  <a id="undo" href="#" class="options">|UNDO|</a>
  <a id="redo" href="#" class="options">|REDO|</a>
  <a id="bold" href="#" class="options"><b>|B|</b></a>
  <a id="italic" href="#" class="options"><i>|I|</i></a>
  <a id="underline" href="#" class="options"><u>|U|</u></a>
  <a id="strike" href="#" class="options"><strike>|A|</strike></a>
  <a id="red" href="#" class="options"><span style="color:red;">|RED|</span></a>
  <a id="decreasefont" href="#" class="options"><small>|Decrease|</small></a>
  <a id="increasefont" href="#" class="options"><big>|Increase|</big></a>
  <a id="fontsize" href="#" class="options"><font size=5>|Font Size 5|</font></a>
  <a id="fontname" href="#" class="options"><font face="verdana">|Verdana|</font></a>
  <a id="subscript" href="#" class="options"><sub>|Subscript|</sub></a>
  <a id="superscript" href="#" class="options"><sup>|Superscript|</sup></a>
  <a id="hilitecolor" href="#" class="options"><span style="background-color: #FFFF00">|Hilite|</span></a>
  <a id="justifyfull" href="#" class="options">|Justify Full|</a>
  <a id="justifyleft" href="#" class="options">|Justify Left|</a>
  <a id="justifyright" href="#" class="options">|Justify Right|</a>
  <a id="indent" href="#" class="options">|Indent|</a>
  <a id="outdent" href="#" class="options">|Outdent|</a>
  <a id="paragraph" href="#" class="options">|Insert Paragraph|</a>
  <a id="orderedlist" href="#" class="options">|Ordered List|</a>
  <a id="unorderedlist" href="#" class="options">|Unordered List|</a>
  <a id="inserthorizontalrule" href="#" class="options">|HR|</a>
  <a id="inserttext" href="#" class="options">|Insert Text|</a>
  <a id="inserthtml" href="#" class="options">|Insert HTML|</a>
  <a id="inserttable" href="#" class="options">|Insert Table|</a>
  <a id="insertimage" href="#" class="options">|Insert Image|</a>
  <a id="createlink" href="#" class="options">|Link|</a>
  <a id="unlink" href="#" class="options">|Unlink|</a>
  <a id="showhtml" href="#" class="options">|Show HTML|</a>
 </div>
 <div id="sunnyrte" contenteditable="true" unselectable="off">Write rich text here ....</div>
 <div>Instructions:
 <br>
 IMAGE EDITING: click the button "Insert Image", click on image, drag handles to resize, SHIFT+drag handles to maintain aspect ratio.
 <br>
 TABLE EDITING: click the button "Insert Table", click on table, drag handles to resize.
 </div>
</body>
</html>

How does it work?

1. Create the HTML code:

<div id="sunnyrtemenu">
 
  <!-- Every option need a id -->
  <a id="delete" href="#" class="options">|Delete|</a>
  ...
  <a id="showhtml" href="#" class="options">|Show HTML|</a>
 </div>
 <div id="sunnyrte" contenteditable="true" unselectable="off">Write rich text here ....</div>

We use and editable div, not a classic textbox.
We use a href to create the buttons

2. Style the CSS


<style>
/* Input Box Style */
#sunnyrte {
width:100%;
height:200px;
border: 1px solid #c0c0c0;
}
/* Menu Style */
#sunnyrtemenu {
width:100%;
height:60px;
border: 1px solid #c0c0c0;
background-color:#efefef;
}
/* Menu Buttons Style */
.options {
 cursor:pointer;
 color: #000000;Verdana, Arial, Helvetica, sans-serif;
 font-size:16px;
 margin-left:3px;
 margin-right:3px;
}
a {
 text-decoration:none; /* Remove default underline for links */
}
</style>

3. Load JQuery

<script type="text/javascript" src="js/jquery-2.0.3.js"></script> 

4. The Javascript

...
// Bold
 
$('#bold').click(function(){document.execCommand('bold', false, null);$('#sunnyrte').focus();return false;});
 
...

For every command we use the statement:

object.execCommand (commandIdentifier, userInterface, value);

The code is optimized to run on Mozilla Engine, some commands do not work in Chrome and IExplorer.
Next time I will work to improve cross browser compatibility :)

My official WebSite >

By |JQuery|Commenti disabilitati su Luce Digitale/JQ Sunny Rich Text Editor – Basic

3DS MAX – Micro Reference Manual – Hair and Fur – Basics

3DS MAX – Micro Reference Manual – Hair and Fur – Basics

CREATE HAIR AND FUR

1. Select an Object
2. Right Column> Modify> Modifier List> WORLD-SPACE MODIFIERS> Hair and Fur (WSM)
3. Right Column> Modify> Hair and Fur (WSM)> General Parameters> Hair Count (Number of total hair in final render)
4. Right Column> Modify> Hair and Fur (WSM)> Display> Display Hairs> Percentage (Number hair in the Viewport)
5. Right Column> Modify> Hair and Fur (WSM)> Display> Material Parameters> Tip Color – Root Color

STYLE HAIR AND FUR

1. Right Column> Modify> Hair and Fur (WSM)> Frizz Parameters> (capelli crespi)
2. Right Column> Modify> Hair and Fur (WSM)> Kink Parameters> (capelli spettinati)
3. Right Column> Modify> Hair and Fur (WSM)> Styling> ‘Style Hair’ button> Hair Brush – Hair Cut..

DYNAMICS

1. Right Column> Modify> Hair and Fur (WSM)> Dynamics> None – Live – Precomputed

SIMPLE RENDER

Main Top Menu> Rendering> Effects> Environment> Effects> ‘Add’ button> Hair and Fur

Main Top Menu> Rendering> Render Elements> ‘Add’ button> Hair and Fur
The Hair And Fur render element produces an additional image that depicts only the elements in the scene generated by the Hair And Fur modifier. This image can be used for compositing.

LIGHT

1. Create a Light, select it, Right Column> Modify> Hair Light Attribute> check ‘Light Hair’

MENTAL RAY RENDER with shadows

1. Main Top Menu> Rendering> Effects> Environment> Effects> ‘Add’ button> Hair and Fur
2. Create a Light, select it, Right Column> Modify> Hair Light Attribute> check ‘Light Hair’
3. 1. Main Top Menu> Rendering> Effects> Environment> Effects> Hair and Fur> Hair and Fur> Hair Rendering Options> Hairs> mrprim (mental ray). It supports Shadow Map and Ray Trace Shadow.

By |3D Graphic|Commenti disabilitati su 3DS MAX – Micro Reference Manual – Hair and Fur – Basics

3DS MAX – Micro Reference Manual – Space Warps – Deflectors

3DS MAX – Micro Reference Manual – Space Warps – Deflectors

GENERAL

Create a Space Warp for NON EVENT DRIVEN PARTICLE SYSTEM
1. Create a particle system in the Viewport
2. Right Column> Space Warps> Deflectors> POmniFlect, click + DRAG in the Viewport to create the Space warp
3. Main Toolbar> ‘Bind to Space Warp’, in the Viewport click on Space Warp + DRAG (you will see a dotted line) over the particle system.

Create a Space Warp for EVENT DRIVEN PARTICLE SYSTEM
1. Create a PF Source particle system in the Viewport
2. Use the shortcut: ’6′ to open ‘Particle View’ Window
3. Use the operator ‘Collision’> click ‘Add’ button, click a ‘Deflector Space Warp’ in the viewport

Modify a Space Warp
1. Select a Space Warp
2. Right Column> Modify

Remove a Space Warp effect over the object
1. Select the object
2. Right Column> Modify> in the stack you can see the Space warp, click over the slot with LMB to select it, click RMB> Delete

Remove a Space Warp from viewport
1. Select the object
2. Press CANC

LIST

– POmniFlect (Planar)
Planar deflect and refract.

– SOmniFlect (Spherical)
Spherical deflect and refract.

– UOmniFlect (universal)
Object Based deflect and refract.
the geometry can be static, animated, or even morphing or otherwise deforming over time.

– UDeflector (obsolete, you must use UOmniFlect)

– SDeflector (obsolete, you must use SOmniFlect)

– Deflector (obsolete, you must use POmniFlect)

By |3D Graphic|Commenti disabilitati su 3DS MAX – Micro Reference Manual – Space Warps – Deflectors