gmo61520

Untitled

Jun 27th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. There are some things which could help you if you're going to make your own port or even model.
  2. <h4><a style="color: inherit;" name="1"></a>1. Use different materials for interior and exterior</h4>
  3. Interior materials usually should be less reflective (otherwise you'll get asphalt reflected on dashboard glass, for example, which is not ok) and darker (especially if you're not going to bake interior shadows).
  4. <h4><a style="color: inherit;" name="2"></a>2. Bake shadows, even for interior, especially when it's bright</h4>
  5. Kind of obvious, it's like the whole point of this blog.
  6. <h4><a style="color: inherit;" name="3"></a>3. Use FLYCAM_[L/R]_[N] to set camera trajectory</h4>
  7. Do you sometimes wonder why Kunos cars has all those FLYCAM_… nodes? When you're pressing “Enter” in the showroom, AC uses this nodes to accurately put camera inside of a car.
  8. <h4><a style="color: inherit;" name="4"></a>4. Animate rear axle if you has one</h4>
  9. Just name it REAR_AXLE and fix its pivot.
  10.  
  11. <a href="https://ascobash.files.wordpress.com/2015/10/2015-10-04_21-32-20.png" target="_blank"><img class="alignnone size-large wp-image-477" src="https://ascobash.files.wordpress.com/2015/10/2015-10-04_21-32-20.png?w=660" alt="2015-10-04_21-32-20" width="660" height="304" /></a>
  12. <h4><a style="color: inherit;" name="5"></a>5. You can animate springs without animated suspension</h4>
  13. Add “Skin” modifier and place one of bones, for example, as child for SUSP_RR.
  14.  
  15. Some important notes:
  16. <ul>
  17. <li>Spring pivot should be in (0,0,0), Y-axis should look up</li>
  18. <li>Spring can't be scaled</li>
  19. <li>Don't set spring as someone's child</li>
  20. <li>Export it with “Skin” modifier, don't collapse stack</li>
  21. <li>Set ksSkinnedMesh shader for it in KsEditor</li>
  22. <li>Skinned meshes have to have their own materials (you can read about it in the Pipeline)</li>
  23. <li>As usual, every point has to be affected by at least one bone, but not more than four bones</li>
  24. <li>If skinned mesh looks properly in showroom and KsEditor, but wrong in-game, maybe you have to readjust BASIC/GRAPHICS_OFFSET in car.ini</li>
  25. </ul>
  26. <a href="https://ascobash.files.wordpress.com/2015/10/2015-10-05_03-49-28.png" target="_blank"><img class="alignnone size-large wp-image-492" src="https://ascobash.files.wordpress.com/2015/10/2015-10-05_03-49-28.png?w=660" alt="2015-10-05_03-49-28" width="660" height="561" /></a>
  27. <h4><a style="color: inherit;" name="6"></a>6. Set positive shadowBiasMult for exterior materials and negative for interior ones</h4>
  28. It helps to decrease visual artifacts with shadows.
Advertisement
Add Comment
Please, Sign In to add comment