Giter Site home page Giter Site logo

assimp's People

Contributors

krux02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

assimp's Issues

go build reports error on mac

Hi, I'm using your package for model loading and it's pretty well on linux. But go reports error while building on mac as follow:

github.com/krux02/assimp

In file included from ../../go/pkg/mod/github.com/krux02/[email protected]/Anim.go:4:
In file included from /usr/local/include/assimp/anim.h:55:
/usr/local/include/assimp/quaternion.h:133:5: error: unknown type name 'ai_real'
ai_real w, x, y, z;
^
1 error generated.

Would you please advise how to fix this issue on mac, thank you!

Raedatoui fork?

Hiyas,

Just noticed the "raedatoui" fork of this seems to be getting worked on by people as well:

https://github.com/raedatoui/assimp

Not sure if you've seen that or not. If not, it might be interesting to look into merging their stuff? ๐Ÿ˜„

Unable to use with Assimp on Windows

Hi,

I'm trying to use these Go binding for Assimp on windows, however, when I run go get github.com/krux02/assimp I get the following error:

go\src\github.com\krux02\assimp\Anim.go:4:25: fatal error: assimp/anim.h: No such file or directory
 //#include <assimp/anim.h>
                         ^
compilation terminated.

I have Assimp version 4.1 installed. Do you happen to know what might be going wrong?

error in package

Hi,

I found one mistake in file Types.go line-104:

func (v *Quaternion) W() float32 {
	return float32(v.x)
}

where return value shall befloat32(v.w).

BTW, I added one method for Bone in Mesh.go to get offset matrix from model with skeletal animation:

func (b *Bone) OffsetMatrix() Matrix4x4 {
	return Matrix4x4(b.mOffsetMatrix)
}

I tried it for skeletal animation loading and it looks well, so would you please update it into your package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.