13. January 2013

3D HTML inspection in Firefox

Firefox has one very neat feature for web developers – 3D inspection. It’s very useful when you need to examine layer overlay or event bubbling.

Just right click and choose Inspect Element:

firefox-inspect

You’ll switch to inspect mode. Click 3D View in the right bottom corner.

firefox-3d

Simple ­čÖé

5. January 2012

Videos from AUG Slovakia – November 2011

Videos from AUG Slovakia – November 2011 are available at:┬ávimeo.com/augsk. Slovak version only.

Meeting Agenda – November 2011

Flex Components Lifecycle / Tomas Lehuta

The Future of 2D in Flash / Peter “Shtif” ┼átef─Źek

Making Things / Martin Cagalinec & Ivan Klim

You can find out more about Adobe Slovakia User Group at groups.adobe.com.

Recording are available thanks to Franto and Lharp.

30. June 2011

HTML5 WebGL/Canvas – Standard Slide – sneak peek

Year ago we developed application for navigating in Standard Slide catalog. It was written in Flex and still it’s serving very well.

This year we decided to make further step and we’re preparing version in HTML5. Not only that. We would like to show 3D models right in the browser.

Many thanks to Three.js for great Canvas/WebGL library.

I’ll share small sneak peek with you. I recommend to view it in Google Chrome or Firefox 4+ which has support for WebGL. Other modern browsers supports Canvas and 3D model will be displayed there as well.

Application is not finished yet. Models are in prototype version. We have to fix some issues, but it nicely demonstrates power of HTML5.

Update: You can test newer version 0.6

Test Standard Slide 3D version 0.6.

27. June 2011

Quick start: Blender and Python

If you know right tricks then writing scripts for Blender is quite easy.

Here is video tutorial that explains some of those tricks. Enjoy.

22. June 2011

Create mesh with correct faces in Blender by Python script

This video tutorial explains how to create mesh using Python script.

Vertices must be defined in right order when we want to define correct face.

Let’s imagine that we would like to create following object:

Numbers are marking vertices beginning from 0.

Let’s define them:

faces = ((0,1,2,3), (1,2,6,5), (1,0,4,5), (2,3,7,6), (0,3,7,4), (4,5,6,7)

Just display normals to see whether everything is ok.

As you can see, only few faces have correct normal.

In order to define face correctly use following rule:

Imagine that you’re sitting inside object and you’re looking outside.

You have to define face by naming vertices in clockwise fashion.

Solution is:

faces = ((0,1,2,3), (5,6,2,1), (4,5,1,0), (2,6,7,3), (0,3,7,4),(7,6,5,4))

For more details about Python and Blender pay a visit to blendercookie.com.