[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k] [s4s] [vip] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Home]
Board
Settings Home
/3/ - 3DCG


Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • There are 7 posters in this thread.

10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
06/20/16New 4chan Banner Contest with a chance to win a 4chan Pass! See the contest page for details.
05/08/16Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam box!
[Hide] [Show All]



File: 1476279102700.jpg (282 KB, 1733x2000)
282 KB
282 KB JPG
>info on how to use transformation matrices in graphics APIs without any libraries is rare
>usually it's wrong
This may look like awoo
But it is actually a reee
>>
graphics API is a library, right ?

you can multiply a matrix with another matrix or a vector(a point is also a vector) so just use multiplication and you are good
>>
>>551549
But it takes a complex composition of matrices to achieve the correct result, and a proper vertex shader to match.
>>
>>551550
transformations 101
if you want to make a composite transformation from multiplke matrices the order how you multiply can affect the final result,you need to do it backwards of what you want to achieve, when it comes to vertex shader, you probably need to transform from object space to world space than modify custom stuff,then transform to clip space and then it should be done
>>
>>551552
Why are you reciting transformations 101?
Snippets of basic information aren't useful in the slightest for trying to correct the mistakes in an almost-complete setup.
>>
>>551554
give a concrete problem and i will try to help, dont expect exact stuff without a proper question
>>
>>551556
I found this older thread I made which goes into more detail:
>>>/g/58857102
>>
>>551547
what the fuck are you talking about, every book on graphics has that.
>>
>>551648
Name one that I can possibly read online, which goes into full detail (all the information you need) rather than a brief overview.
>>
>>551547
That's because you're searching in programming or graphics stuff but it's basic linear algebra, which is why they don't bother explaining it.
>>
Here you go anon, basic cg math guide

https://www.scratchapixel.com
>>
>>551585
>Vulkan shouldn't be full of worst practices, yet
I got a feeling there is worst practices in there from bad ideas.
I.E True triple buffering setups apparently need to be hand coded, and isn't setup by default

Code examples might be okay, but there is still a lot of horrible practices that comes from "Lets do the old that 1:1"
>>
>>551686
this shit is riddled with typos
is it really a good learning source?




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.