Archive for the ‘Tutorials’ Category

Sometimes when exporting modells using different exporters, they sometime appear inverted.

for an example take a look at the video in my previous post.
It turns out, that all the normals were inverted, so in order to get around this problem, the normals of the mesh must be flipped in 3ds Max (or any 3d package) before they are exported.
To do this in max is very simple.
  1. right click your object > convert to Editable Mesh
  2. Select your entire model so that all faces are RED.
  3. in the modifiers panel select Normal, then in the parameters roll out, make sure Flip Normals  box is ticked.
  4. if you would like to see your Normal lines, go back to your Editable Mesh and tick the box “show Normals” in the selection roll out
And thats it :)

In a comment i was asked if i knew how to add a tweet this icon to joomla in a previous post, i am unaware of any current solutions however this is a workaround:

using the Add to Any button…
This is a great way to let your users share your site, without cluttering up every page with all kinds of different buttons.
Also, since the addtoany button is automatically updated with the latest social sites that spring up constantly, it’s a zero maintenance solution.
It even integrates with google analytics if you track at that level.

Social bookmarking extension

You can edit it, so that ALL you have in there is twitter, or you can leave other social bookmarks available.

This tutorial will show you how to add a tweet this icon link for all your posts automatically on Blogger so that your posts can spread like wildfire! and allow users to share things with their friends..

To add a tweet this link like the one used on my blog at the bottom of each post, follow these steps in Blogger:

BACK UP YOUR CURRENT LAYOUT FIRST!

  1. Go to Layout
  2. Edit HTML
  3. click on the “Expand template” checkbox
  4. search for the line that says:  <p><data:post.body/></p>
  5. DIRECTLY underneath this enter in the following code

<a expr:href='”http://twitter.com/home?status=Reading ” + data:post.title + ” @YOURTwitterID ” + data:post.url’ title=’Tweet it on Twitter’><img src=’http://LINK TO TWITTER IMAGE ON YOUR SERVER‘/></a>

  • Replace YOURtwitterID with your twitter USERNAME if you want to track and see who is sharing your blog posts. Otherwise simply delete @YOURtwitterID.
  • Replace “LINK TO TWITTER IMAGE ON YOUR SERVER” with the link for the twitter image you would like to use.
  • Once modified, the Tweet This, button will appear under every post automatically,
  • you only have to do this once
  • It will even appear on your old blogs
  • When the reader click this button, it will include the URL of the post in the person’s tweet unless the readers intentionally remove it by editing the tweet.

When creating models/importing models into flash, and testing code in run time etc, sometimes it is very usefull to have Statistics displayed on the runtime page, to see how well your program is running, any memory leaks etc..

This however is very easy to set up in Papervision3D.
First you need to import StatView:
import org.papervision3d.view.stats.StatsView;

If you have employed BasicView for your scene setup, add

private var view:StatsView;

in your class, and then call it using:

addChild(new StatsView(renderer));

Thats it! very simple, you should end up with something looking like this in your window

  • Try and keep your models as simple as possible without loosing much on detail (obviously some sacrifices have to be made).
  • When exporting to a DAE file, try and use a model that is newly made, rather than editing one that is already textured and in a scene with other objects.
  • DO NOT, texture your objects, until you are ready to add your UVW map, this will avoid confusion in the DAE, where max has exported the files, with paths to textures that you no longer use, this will throw errors when testing movie in Actionscript.
  • Having a clean model, with few gemoetries and one UVW map will help reduce complications and errors in the long run – trust me, im speaking from experiance! :)
  • .DAE files, can be opened in Notepad, and edited – do not edit if you are unsure of what to do, you may end up corrupting your file, and having to re-export.
  • Notepad2, is a lot better than Notepad – with syntax highliting and numbered lines, get it here, its free!

If you have any tips you would like to add, please feel free to leave them in the comments! :)

Subscribe
Follow me on Twitter
free counters
PayPal Donation
If you like this blog and the help it has given you, why not donate for this good cause? Click on the button below to pay Safely and Securely through PayPal.
Thanks.